Skip to content
Kolorvia
#ccd41f

Color #ccd41f

A vivid, highly saturated medium yellow.

Conversions

HEX
#ccd41f
RGB
rgb(204, 212, 31)
HSL
hsl(62.7, 74.5%, 47.6%)
HSV / HSB
hsv(62.7, 85.4%, 83.1%)
CMYK
cmyk(3.8%, 0%, 85.4%, 16.9%)
LAB
lab(81.85, -21.69, 77.53)
LCH
lch(81.85, 80.51, 105.63)
OKLCH
oklch(83.6%, 0.1798, 112.5)
HWB
hwb(62.7, 12.2%, 16.9%)

Harmony colors

Complementary

#271fd4

Analogous

#d4821f
#ccd41f
#71d41f

Triadic

#ccd41f
#1fccd4
#d41fcc

Split-complementary

#ccd41f
#1f71d4
#821fd4

Tetradic

#ccd41f
#1fd427
#271fd4
#d41fcc

Square

#ccd41f
#1fd482
#271fd4
#d41f71

Shades

Color #ccd41f mixed toward black.

#aab11a
#888d15
#666a0f
#44470a
#222305

Tints

Color #ccd41f mixed toward white.

#dbe33d
#e2e864
#e9ee8a
#f1f4b1
#f8f9d8

Tones

Color #ccd41f mixed toward gray.

#bec52e
#b0b63d
#a3a74c
#95985b
#87886a

Accessibility

Aa White text on this color
1.61:1
Aa Black text on this color
13:1

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

CSS
background-color: #ccd41f;
Tailwind (arbitrary value)
bg-[#ccd41f]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

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

Build something with this color

Generate a full palette from #ccd41f, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.