#CCE99A#CCE99A

#CCE99A is a very light, moderate yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.107 H 124.9°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#CCE99A
RGBrgb(204, 233, 154)
HSLhsl(82, 64%, 76%)
HSVhsv(82, 34%, 91%)
CMYKcmyk(12.4%, 0%, 33.9%, 8.6%)
CIE-LABlab(88.66, -22.51, 35.34)
CIE-LCHlch(88.66, 41.90, 122.50°)
OKLaboklab(89.43% -0.0612 0.0878)
OKLCHoklch(89.43% 0.107 124.9)
XYZxyz(59.8729, 73.4480, 41.5882)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE99A #B79AE9
analogous
#E9DE9A #CCE99A #A4E99A
triadic
#CCE99A #9ACCE9 #E99ACC
tetradic
#CCE99A #9AE9DE #B79AE9 #E99AA4
square
#CCE99A #9AE9DE #B79AE9 #E99AA4
split-complementary
#CCE99A #9AA4E9 #DE9AE9
monochromatic
#99D335 #B3DE68 #CCE99A #E5F4CC #F2FAE6

Accessibility & contrast

On white

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

On black

15.69
#CCE99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE99A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE99A#FFFFFF#000000##000000
##CCE99A1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce99a;
/* rgb */ color: rgb(204, 233, 154);
/* oklch */ color: oklch(89.4% 0.107 124.9);
Tailwind
colors: {
  custom: {
    50: '#dcf0b8',
    500: '#cce99a',
    950: '#000000',
  },
}
SCSS
$custom: #cce99a;
$custom-light: #dcf0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cce99a",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 154
  },
  "hsl": {
    "h": 82.025,
    "s": 64.228,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89431,
    "c": 0.10699,
    "h": 124.9
  },
  "luminance": 0.73448
}

Semantic roles & 50–950 ramp

primary
#CCE99A
secondary
#8763C4
accent
#19CC5B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE99A

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

Preview Lab → · Contrast checker → · Palette generator →

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