#CCD41F#CCD41F

#CCD41F is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.6% C 0.180 H 112.5°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CCD41F
RGBrgb(204, 212, 31)
HSLhsl(63, 74%, 48%)
HSVhsv(63, 85%, 83%)
CMYKcmyk(3.8%, 0%, 85.4%, 16.9%)
CIE-LABlab(81.85, -21.69, 77.53)
CIE-LCHlch(81.85, 80.51, 105.63°)
OKLaboklab(83.61% -0.0688 0.1661)
OKLCHoklch(83.61% 0.18 112.5)
XYZxyz(48.6944, 60.0245, 10.3168)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD41F #271FD4
analogous
#D4821F #CCD41F #71D41F
triadic
#CCD41F #1FCCD4 #D41FCC
tetradic
#CCD41F #1FD482 #271FD4 #D41F71
square
#CCD41F #1FD482 #271FD4 #D41F71
split-complementary
#CCD41F #1F71D4 #821FD4
monochromatic
#65690F #999F17 #CCD41F #DEE54B #E8ED81

Accessibility & contrast

On white

1.61
#CCD41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#CCD41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD41F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD41F#FFFFFF#000000##000000
##CCD41F1.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E5CD34
Tritanopia (blue-blind)
#DBC6B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd41f;
/* rgb */ color: rgb(204, 212, 31);
/* oklch */ color: oklch(83.6% 0.180 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e170',
    500: '#ccd41f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd41f;
$custom-light: #e0e170;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd41f",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 31
  },
  "hsl": {
    "h": 62.652,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.83614,
    "c": 0.17978,
    "h": 112.5
  },
  "luminance": 0.60023
}

Semantic roles & 50–950 ramp

primary
#CCD41F
secondary
#282473
accent
#37F13F
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCD41F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CCD41F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva