#CCE99C#CCE99C

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

Color values

HEX#CCE99C
RGBrgb(204, 233, 156)
HSLhsl(83, 64%, 76%)
HSVhsv(83, 33%, 91%)
CMYKcmyk(12.4%, 0%, 33%, 8.6%)
CIE-LABlab(88.69, -22.25, 34.37)
CIE-LCHlch(88.69, 40.94, 122.91°)
OKLaboklab(89.47% -0.0604 0.0855)
OKLCHoklch(89.47% 0.105 125.2)
XYZxyz(60.0409, 73.5152, 42.4728)
Luminance0.7351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE99C #B99CE9
analogous
#E9DF9C #CCE99C #A6E99C
triadic
#CCE99C #9CCCE9 #E99CCC
tetradic
#CCE99C #9CE9DF #B99CE9 #E99CA6
square
#CCE99C #9CE9DF #B99CE9 #E99CA6
split-complementary
#CCE99C #9CA6E9 #DF9CE9
monochromatic
#98D338 #B2DE6A #CCE99C #E6F4CE #F2F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE99C#FFFFFF#000000##000000
##CCE99C1.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)
#F1E097
Deuteranopia (green-blind)
#EDDEA0
Tritanopia (blue-blind)
#D1E2D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cce99c;
/* rgb */ color: rgb(204, 233, 156);
/* oklch */ color: oklch(89.5% 0.105 125.2);
Tailwind
colors: {
  custom: {
    50: '#dcf0ba',
    500: '#cce99c',
    950: '#000000',
  },
}
SCSS
$custom: #cce99c;
$custom-light: #dcf0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cce99c",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 156
  },
  "hsl": {
    "h": 82.597,
    "s": 63.636,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89467,
    "c": 0.10471,
    "h": 125.2
  },
  "luminance": 0.73515
}

Semantic roles & 50–950 ramp

primary
#CCE99C
secondary
#8965C4
accent
#1ACB5D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE99C

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

Preview Lab → · Contrast checker → · Palette generator →

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