#CCE96B#CCE96B

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

Color values

HEX#CCE96B
RGBrgb(204, 233, 107)
HSLhsl(74, 74%, 67%)
HSVhsv(74, 54%, 91%)
CMYKcmyk(12.4%, 0%, 54.1%, 8.6%)
CIE-LABlab(88.05, -27.61, 57.18)
CIE-LCHlch(88.05, 63.50, 115.78°)
OKLaboklab(88.75% -0.0788 0.134)
OKLCHoklch(88.75% 0.155 120.5)
XYZxyz(56.6951, 72.1769, 24.8518)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE96B #886BE9
analogous
#E9C76B #CCE96B #8DE96B
triadic
#CCE96B #6BCCE9 #E96BCC
tetradic
#CCE96B #6BE9C7 #886BE9 #E96B8D
square
#CCE96B #6BE9C7 #886BE9 #E96B8D
split-complementary
#CCE96B #6B8DE9 #C76BE9
monochromatic
#98BD1C #BAE136 #CCE96B #DEF1A0 #F1F9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE96B#FFFFFF#000000##000000
##CCE96B1.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)
#F6DD5E
Deuteranopia (green-blind)
#F2DD73
Tritanopia (blue-blind)
#D6DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce96b;
/* rgb */ color: rgb(204, 233, 107);
/* oklch */ color: oklch(88.7% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#def099',
    500: '#cce96b',
    950: '#000000',
  },
}
SCSS
$custom: #cce96b;
$custom-light: #def099;
$custom-dark: #000000;
JSON
{
  "hex": "#cce96b",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 73.81,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88747,
    "c": 0.15547,
    "h": 120.5
  },
  "luminance": 0.72177
}

Semantic roles & 50–950 ramp

primary
#CCE96B
secondary
#593CBC
accent
#0FD63D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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