#CCD04D#CCD04D

#CCD04D is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.0% C 0.151 H 110.9°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CCD04D
RGBrgb(204, 208, 77)
HSLhsl(62, 58%, 56%)
HSVhsv(62, 63%, 82%)
CMYKcmyk(1.9%, 0%, 63%, 18.4%)
CIE-LABlab(81.01, -17.77, 62.29)
CIE-LCHlch(81.01, 64.78, 105.92°)
OKLaboklab(83.02% -0.0541 0.1413)
OKLCHoklch(83.02% 0.151 110.9)
XYZxyz(48.7987, 58.4861, 15.7381)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD04D #514DD0
analogous
#D0924D #CCD04D #8AD04D
triadic
#CCD04D #4DCCD0 #D04DCC
tetradic
#CCD04D #4DD092 #514DD0 #D04D8A
square
#CCD04D #4DD092 #514DD0 #D04D8A
split-complementary
#CCD04D #4D8AD0 #924DD0
monochromatic
#7E8122 #ADB12F #CCD04D #DADD7D #E8EAAE

Accessibility & contrast

On white

1.65
#CCD04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CCD04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD04D
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD04D#FFFFFF#000000##000000
##CCD04D1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73C
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#D9C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd04d;
/* rgb */ color: rgb(204, 208, 77);
/* oklch */ color: oklch(83.0% 0.151 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde85',
    500: '#ccd04d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd04d;
$custom-light: #dfde85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd04d",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 61.832,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83015,
    "c": 0.15133,
    "h": 110.9
  },
  "luminance": 0.58485
}

Semantic roles & 50–950 ramp

primary
#CCD04D
secondary
#3C3988
accent
#46E14B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD04D

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

Preview Lab → · Contrast checker → · Palette generator →

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