#CCE96D#CCE96D

#CCE96D is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.8% C 0.154 H 120.6°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#CCE96D
RGBrgb(204, 233, 109)
HSLhsl(74, 74%, 67%)
HSVhsv(74, 53%, 91%)
CMYKcmyk(12.4%, 0%, 53.2%, 8.6%)
CIE-LABlab(88.07, -27.44, 56.30)
CIE-LCHlch(88.07, 62.63, 115.98°)
OKLaboklab(88.77% -0.0781 0.1323)
OKLCHoklch(88.77% 0.154 120.6)
XYZxyz(56.8016, 72.2194, 25.4124)
Luminance0.7222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE96D #8A6DE9
analogous
#E9C86D #CCE96D #8EE96D
triadic
#CCE96D #6DCCE9 #E96DCC
tetradic
#CCE96D #6DE9C8 #8A6DE9 #E96D8E
square
#CCE96D #6DE9C8 #8A6DE9 #E96D8E
split-complementary
#CCE96D #6D8EE9 #C86DE9
monochromatic
#99BF1D #B9E138 #CCE96D #DFF1A2 #F1F9D7

Accessibility & contrast

On white

1.36
#CCE96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#CCE96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE96D
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE96D#FFFFFF#000000##000000
##CCE96D1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD61
Deuteranopia (green-blind)
#F2DD74
Tritanopia (blue-blind)
#D5DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce96d;
/* rgb */ color: rgb(204, 233, 109);
/* oklch */ color: oklch(88.8% 0.154 120.6);
Tailwind
colors: {
  custom: {
    50: '#def09a',
    500: '#cce96d',
    950: '#000000',
  },
}
SCSS
$custom: #cce96d;
$custom-light: #def09a;
$custom-dark: #000000;
JSON
{
  "hex": "#cce96d",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 109
  },
  "hsl": {
    "h": 74.032,
    "s": 73.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8877,
    "c": 0.15367,
    "h": 120.6
  },
  "luminance": 0.72219
}

Semantic roles & 50–950 ramp

primary
#CCE96D
secondary
#5B3CBE
accent
#10D63E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE96D

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

Preview Lab → · Contrast checker → · Palette generator →

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