#CCE996#CCE996

#CCE996 is a very light, moderate yellow-green. Relative luminance 0.733; OKLCH L 89.4% C 0.112 H 124.3°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#CCE996
RGBrgb(204, 233, 150)
HSLhsl(81, 65%, 75%)
HSVhsv(81, 36%, 91%)
CMYKcmyk(12.4%, 0%, 35.6%, 8.6%)
CIE-LABlab(88.60, -23.02, 37.27)
CIE-LCHlch(88.60, 43.81, 121.71°)
OKLaboklab(89.36% -0.0628 0.0921)
OKLCHoklch(89.36% 0.112 124.3)
XYZxyz(59.5453, 73.3169, 39.8628)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE996 #B396E9
analogous
#E9DC96 #CCE996 #A2E996
triadic
#CCE996 #96CCE9 #E996CC
tetradic
#CCE996 #96E9DC #B396E9 #E996A2
square
#CCE996 #96E9DC #B396E9 #E996A2
split-complementary
#CCE996 #96A2E9 #DC96E9
monochromatic
#9BD431 #B3DE63 #CCE996 #E5F4C9 #F3FAE6

Accessibility & contrast

On white

1.34
#CCE996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#CCE996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE996
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE996#FFFFFF#000000##000000
##CCE9961.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DF90
Deuteranopia (green-blind)
#EEDE9A
Tritanopia (blue-blind)
#D2E1D4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cce996;
/* rgb */ color: rgb(204, 233, 150);
/* oklch */ color: oklch(89.4% 0.112 124.3);
Tailwind
colors: {
  custom: {
    50: '#dcf0b5',
    500: '#cce996',
    950: '#000000',
  },
}
SCSS
$custom: #cce996;
$custom-light: #dcf0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cce996",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 150
  },
  "hsl": {
    "h": 80.964,
    "s": 65.354,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89361,
    "c": 0.1115,
    "h": 124.3
  },
  "luminance": 0.73317
}

Semantic roles & 50–950 ramp

primary
#CCE996
secondary
#8360C4
accent
#18CD58
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE996

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

Preview Lab → · Contrast checker → · Palette generator →

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