#CCE99B#CCE99B

#CCE99B is a very light, moderate yellow-green. Relative luminance 0.735; OKLCH L 89.4% C 0.106 H 125.1°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#CCE99B
RGBrgb(204, 233, 155)
HSLhsl(82, 64%, 76%)
HSVhsv(82, 33%, 91%)
CMYKcmyk(12.4%, 0%, 33.5%, 8.6%)
CIE-LABlab(88.68, -22.38, 34.86)
CIE-LCHlch(88.68, 41.42, 122.70°)
OKLaboklab(89.45% -0.0608 0.0866)
OKLCHoklch(89.45% 0.106 125.1)
XYZxyz(59.9566, 73.4814, 42.0286)
Luminance0.7348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE99B #B89BE9
analogous
#E9DF9B #CCE99B #A5E99B
triadic
#CCE99B #9BCCE9 #E99BCC
tetradic
#CCE99B #9BE9DF #B89BE9 #E99BA5
square
#CCE99B #9BE9DF #B89BE9 #E99BA5
split-complementary
#CCE99B #9BA5E9 #DF9BE9
monochromatic
#99D337 #B2DE69 #CCE99B #E6F4CD #F2F9E6

Accessibility & contrast

On white

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

On black

15.70
#CCE99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE99B
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE99B#FFFFFF#000000##000000
##CCE99B1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce99b;
/* rgb */ color: rgb(204, 233, 155);
/* oklch */ color: oklch(89.4% 0.106 125.1);
Tailwind
colors: {
  custom: {
    50: '#dcf0b9',
    500: '#cce99b',
    950: '#000000',
  },
}
SCSS
$custom: #cce99b;
$custom-light: #dcf0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cce99b",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 155
  },
  "hsl": {
    "h": 82.308,
    "s": 63.934,
    "l": 76.078
  },
  "oklch": {
    "l": 0.89449,
    "c": 0.10585,
    "h": 125.1
  },
  "luminance": 0.73482
}

Semantic roles & 50–950 ramp

primary
#CCE99B
secondary
#8864C4
accent
#1ACC5C
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE99B

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

Preview Lab → · Contrast checker → · Palette generator →

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