#CCD84B#CCD84B

#CCD84B is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.7% C 0.161 H 114.0°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CCD84B
RGBrgb(204, 216, 75)
HSLhsl(65, 64%, 57%)
HSVhsv(65, 65%, 85%)
CMYKcmyk(5.6%, 0%, 65.3%, 15.3%)
CIE-LABlab(83.16, -21.82, 65.33)
CIE-LCHlch(83.16, 68.88, 108.47°)
OKLaboklab(84.73% -0.0657 0.1474)
OKLCHoklch(84.73% 0.161 114)
XYZxyz(50.7290, 62.4580, 16.0385)
Luminance0.6246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD84B #574BD8
analogous
#D89D4B #CCD84B #86D84B
triadic
#CCD84B #4BCCD8 #D84BCC
tetradic
#CCD84B #4BD89D #574BD8 #D84B86
square
#CCD84B #4BD89D #574BD8 #D84B86
split-complementary
#CCD84B #4B86D8 #9D4BD8
monochromatic
#818B1E #B0BD29 #CCD84B #DAE37D #E9EEB0

Accessibility & contrast

On white

1.56
#CCD84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#CCD84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD84B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD84B#FFFFFF#000000##000000
##CCD84B1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE37
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#D9CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd84b;
/* rgb */ color: rgb(204, 216, 75);
/* oklch */ color: oklch(84.7% 0.161 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe384',
    500: '#ccd84b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd84b;
$custom-light: #dfe384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd84b",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 65.106,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84729,
    "c": 0.1614,
    "h": 114
  },
  "luminance": 0.62457
}

Semantic roles & 50–950 ramp

primary
#CCD84B
secondary
#3E3790
accent
#40E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD84B

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

Preview Lab → · Contrast checker → · Palette generator →

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