#CCD04A#CCD04A

#CCD04A is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.154 H 111.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CCD04A
RGBrgb(204, 208, 74)
HSLhsl(62, 59%, 55%)
HSVhsv(62, 64%, 82%)
CMYKcmyk(1.9%, 0%, 64.4%, 18.4%)
CIE-LABlab(80.99, -17.96, 63.48)
CIE-LCHlch(80.99, 65.97, 105.79°)
OKLaboklab(82.99% -0.0549 0.1434)
OKLCHoklch(82.99% 0.154 111)
XYZxyz(48.6952, 58.4447, 15.1931)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD04A #4E4AD0
analogous
#D0914A #CCD04A #89D04A
triadic
#CCD04A #4ACCD0 #D04ACC
tetradic
#CCD04A #4AD091 #4E4AD0 #D04A89
square
#CCD04A #4AD091 #4E4AD0 #D04A89
split-complementary
#CCD04A #4A89D0 #914AD0
monochromatic
#7C7F21 #ABAF2E #CCD04A #DADD7B #E7E9AB

Accessibility & contrast

On white

1.66
#CCD04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CCD04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD04A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD04A#FFFFFF#000000##000000
##CCD04A1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd04a;
/* rgb */ color: rgb(204, 208, 74);
/* oklch */ color: oklch(83.0% 0.154 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde83',
    500: '#ccd04a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd04a;
$custom-light: #dfde83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd04a",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 74
  },
  "hsl": {
    "h": 61.791,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8299,
    "c": 0.15355,
    "h": 111
  },
  "luminance": 0.58444
}

Semantic roles & 50–950 ramp

primary
#CCD04A
secondary
#3A3886
accent
#46E24A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD04A

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

Preview Lab → · Contrast checker → · Palette generator →

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