Color #ccd41f
A vivid, highly saturated medium yellow.
Conversions
#ccd41f
rgb(204, 212, 31)
hsl(62.7, 74.5%, 47.6%)
hsv(62.7, 85.4%, 83.1%)
cmyk(3.8%, 0%, 85.4%, 16.9%)
lab(81.85, -21.69, 77.53)
lch(81.85, 80.51, 105.63)
oklch(83.6%, 0.1798, 112.5)
hwb(62.7, 12.2%, 16.9%)
Harmony colors
Accessibility
Black text reads better on this background (13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#d0d072 · ΔE 8.3
Deuteranopia
#cfce7e · ΔE 10.4
Tritanopia
#cc9399 · ΔE 46.7
Achromatopsia
#cbcbcb · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ccd41f;
bg-[#ccd41f]
Related colors
Frequently asked questions
#ccd41f (#ccd41f) is rgb(204, 212, 31) in RGB.
No, #ccd41f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ccd41f, or check how it holds up for accessibility.