#CCD84D#CCD84D

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

Color values

HEX#CCD84D
RGBrgb(204, 216, 77)
HSLhsl(65, 64%, 57%)
HSVhsv(65, 64%, 85%)
CMYKcmyk(5.6%, 0%, 64.4%, 15.3%)
CIE-LABlab(83.17, -21.70, 64.56)
CIE-LCHlch(83.17, 68.11, 108.58°)
OKLaboklab(84.75% -0.0651 0.1461)
OKLCHoklch(84.75% 0.16 114)
XYZxyz(50.7986, 62.4859, 16.4047)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD84D #594DD8
analogous
#D89F4D #CCD84D #86D84D
triadic
#CCD84D #4DCCD8 #D84DCC
tetradic
#CCD84D #4DD89F #594DD8 #D84D86
square
#CCD84D #4DD89F #594DD8 #D84D86
split-complementary
#CCD84D #4D86D8 #9F4DD8
monochromatic
#838C1F #B1BE2A #CCD84D #DAE37F #E9EEB1

Accessibility & contrast

On white

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

On black

13.50
#CCD84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD84D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD84D#FFFFFF#000000##000000
##CCD84D1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3A
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#D9CCBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd84d;
/* rgb */ color: rgb(204, 216, 77);
/* oklch */ color: oklch(84.7% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe386',
    500: '#ccd84d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd84d;
$custom-light: #dfe386;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd84d",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 77
  },
  "hsl": {
    "h": 65.18,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84745,
    "c": 0.15997,
    "h": 114
  },
  "luminance": 0.62485
}

Semantic roles & 50–950 ramp

primary
#CCD84D
secondary
#3F3792
accent
#41E74F
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD84D

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

Preview Lab → · Contrast checker → · Palette generator →

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