#CCE8A2#CCE8A2

#CCE8A2 is a very light, moderate yellow-green. Relative luminance 0.732; OKLCH L 89.4% C 0.096 H 126.0°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#CCE8A2
RGBrgb(204, 232, 162)
HSLhsl(84, 60%, 77%)
HSVhsv(84, 30%, 91%)
CMYKcmyk(12.1%, 0%, 30.2%, 9%)
CIE-LABlab(88.52, -20.95, 31.10)
CIE-LCHlch(88.52, 37.50, 123.96°)
OKLaboklab(89.36% -0.0566 0.0779)
OKLCHoklch(89.36% 0.096 126)
XYZxyz(60.2793, 73.1589, 45.1208)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE8A2 #BEA2E8
analogous
#E8E1A2 #CCE8A2 #A9E8A2
triadic
#CCE8A2 #A2CCE8 #E8A2CC
tetradic
#CCE8A2 #A2E8E1 #BEA2E8 #E8A2A9
square
#CCE8A2 #A2E8E1 #BEA2E8 #E8A2A9
split-complementary
#CCE8A2 #A2A9E8 #E1A2E8
monochromatic
#96D040 #B1DC71 #CCE8A2 #E7F4D3 #F2F9E6

Accessibility & contrast

On white

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

On black

15.63
#CCE8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE8A2
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE8A2#FFFFFF#000000##000000
##CCE8A21.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DF9D
Deuteranopia (green-blind)
#EBDEA5
Tritanopia (blue-blind)
#D0E2D6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cce8a2;
/* rgb */ color: rgb(204, 232, 162);
/* oklch */ color: oklch(89.4% 0.096 126.0);
Tailwind
colors: {
  custom: {
    50: '#dcefbe',
    500: '#cce8a2',
    950: '#000000',
  },
}
SCSS
$custom: #cce8a2;
$custom-light: #dcefbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cce8a2",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 162
  },
  "hsl": {
    "h": 84,
    "s": 60.345,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89364,
    "c": 0.09632,
    "h": 126
  },
  "luminance": 0.73159
}

Semantic roles & 50–950 ramp

primary
#CCE8A2
secondary
#8E6BC3
accent
#1DC862
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151612
muted
#848582

Preview Lab

Preview with #CCE8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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