#CCE99D#CCE99D

#CCE99D is a very light, moderate yellow-green. Relative luminance 0.736; OKLCH L 89.5% C 0.104 H 125.4°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#CCE99D
RGBrgb(204, 233, 157)
HSLhsl(83, 63%, 76%)
HSVhsv(83, 33%, 91%)
CMYKcmyk(12.4%, 0%, 32.6%, 8.6%)
CIE-LABlab(88.71, -22.11, 33.89)
CIE-LCHlch(88.71, 40.47, 123.13°)
OKLaboklab(89.49% -0.06 0.0844)
OKLCHoklch(89.49% 0.104 125.4)
XYZxyz(60.1259, 73.5492, 42.9205)
Luminance0.7355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE99D #BA9DE9
analogous
#E9E09D #CCE99D #A6E99D
triadic
#CCE99D #9DCCE9 #E99DCC
tetradic
#CCE99D #9DE9E0 #BA9DE9 #E99DA6
square
#CCE99D #9DE9E0 #BA9DE9 #E99DA6
split-complementary
#CCE99D #9DA6E9 #E09DE9
monochromatic
#98D339 #B2DE6B #CCE99D #E6F4CF #F2F9E6

Accessibility & contrast

On white

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

On black

15.71
#CCE99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE99D
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE99D#FFFFFF#000000##000000
##CCE99D1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E098
Deuteranopia (green-blind)
#EDDEA1
Tritanopia (blue-blind)
#D1E2D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cce99d;
/* rgb */ color: rgb(204, 233, 157);
/* oklch */ color: oklch(89.5% 0.104 125.4);
Tailwind
colors: {
  custom: {
    50: '#dcf0ba',
    500: '#cce99d',
    950: '#000000',
  },
}
SCSS
$custom: #cce99d;
$custom-light: #dcf0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cce99d",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 157
  },
  "hsl": {
    "h": 82.895,
    "s": 63.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.89485,
    "c": 0.10357,
    "h": 125.4
  },
  "luminance": 0.7355
}

Semantic roles & 50–950 ramp

primary
#CCE99D
secondary
#8A66C4
accent
#1ACB5E
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151612
muted
#848582

Preview Lab

Preview with #CCE99D

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

Preview Lab → · Contrast checker → · Palette generator →

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