#CCE96F#CCE96F

#CCE96F is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.152 H 120.7°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#CCE96F
RGBrgb(204, 233, 111)
HSLhsl(74, 73%, 67%)
HSVhsv(74, 52%, 91%)
CMYKcmyk(12.4%, 0%, 52.4%, 8.6%)
CIE-LABlab(88.09, -27.26, 55.42)
CIE-LCHlch(88.09, 61.76, 116.19°)
OKLaboklab(88.79% -0.0775 0.1306)
OKLCHoklch(88.79% 0.152 120.7)
XYZxyz(56.9105, 72.2630, 25.9859)
Luminance0.7226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE96F #8C6FE9
analogous
#E9C96F #CCE96F #8FE96F
triadic
#CCE96F #6FCCE9 #E96FCC
tetradic
#CCE96F #6FE9C9 #8C6FE9 #E96F8F
square
#CCE96F #6FE9C9 #8C6FE9 #E96F8F
split-complementary
#CCE96F #6F8FE9 #C96FE9
monochromatic
#9AC01D #B9E13A #CCE96F #DFF1A4 #F2F9D9

Accessibility & contrast

On white

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

On black

15.45
#CCE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE96F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE96F#FFFFFF#000000##000000
##CCE96F1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD63
Deuteranopia (green-blind)
#F2DD76
Tritanopia (blue-blind)
#D5DFCE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce96f;
/* rgb */ color: rgb(204, 233, 111);
/* oklch */ color: oklch(88.8% 0.152 120.7);
Tailwind
colors: {
  custom: {
    50: '#def09b',
    500: '#cce96f',
    950: '#000000',
  },
}
SCSS
$custom: #cce96f;
$custom-light: #def09b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce96f",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 74.262,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88793,
    "c": 0.15183,
    "h": 120.7
  },
  "luminance": 0.72263
}

Semantic roles & 50–950 ramp

primary
#CCE96F
secondary
#5C3DBF
accent
#10D63F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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