#CCD84C#CCD84C

#CCD84C 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#CCD84C
RGBrgb(204, 216, 76)
HSLhsl(65, 64%, 57%)
HSVhsv(65, 65%, 85%)
CMYKcmyk(5.6%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.16, -21.76, 64.95)
CIE-LCHlch(83.16, 68.50, 108.52°)
OKLaboklab(84.74% -0.0654 0.1468)
OKLCHoklch(84.74% 0.161 114)
XYZxyz(50.7635, 62.4718, 16.2202)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD84C #584CD8
analogous
#D89E4C #CCD84C #86D84C
triadic
#CCD84C #4CCCD8 #D84CCC
tetradic
#CCD84C #4CD89E #584CD8 #D84C86
square
#CCD84C #4CD89E #584CD8 #D84C86
split-complementary
#CCD84C #4C86D8 #9E4CD8
monochromatic
#828B1E #B1BE29 #CCD84C #DAE37E #E9EEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD84C#FFFFFF#000000##000000
##CCD84C1.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)
#E7CE39
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#D9CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd84c;
/* rgb */ color: rgb(204, 216, 76);
/* oklch */ color: oklch(84.7% 0.161 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe385',
    500: '#ccd84c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd84c;
$custom-light: #dfe385;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd84c",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 65.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84737,
    "c": 0.16069,
    "h": 114
  },
  "luminance": 0.62471
}

Semantic roles & 50–950 ramp

primary
#CCD84C
secondary
#3F3791
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD84C

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

Preview Lab → · Contrast checker → · Palette generator →

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