#CCD04B#CCD04B

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

Color values

HEX#CCD04B
RGBrgb(204, 208, 75)
HSLhsl(62, 59%, 55%)
HSVhsv(62, 64%, 82%)
CMYKcmyk(1.9%, 0%, 63.9%, 18.4%)
CIE-LABlab(80.99, -17.89, 63.09)
CIE-LCHlch(80.99, 65.58, 105.84°)
OKLaboklab(83% -0.0547 0.1427)
OKLCHoklch(83% 0.153 111)
XYZxyz(48.7292, 58.4583, 15.3719)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD04B #4F4BD0
analogous
#D0924B #CCD04B #89D04B
triadic
#CCD04B #4BCCD0 #D04BCC
tetradic
#CCD04B #4BD092 #4F4BD0 #D04B89
square
#CCD04B #4BD092 #4F4BD0 #D04B89
split-complementary
#CCD04B #4B89D0 #924BD0
monochromatic
#7D7F21 #ACB02E #CCD04B #DADD7C #E7E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD04B#FFFFFF#000000##000000
##CCD04B1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd04b;
/* rgb */ color: rgb(204, 208, 75);
/* oklch */ color: oklch(83.0% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde84',
    500: '#ccd04b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd04b;
$custom-light: #dfde84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd04b",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 61.805,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82998,
    "c": 0.15282,
    "h": 111
  },
  "luminance": 0.58457
}

Semantic roles & 50–950 ramp

primary
#CCD04B
secondary
#3B3887
accent
#46E24B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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