#CCE7BC#CCE7BC

#CCE7BC is a very light, moderate yellow-green. Relative luminance 0.736; OKLCH L 89.7% C 0.064 H 133.9°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#CCE7BC
RGBrgb(204, 231, 188)
HSLhsl(98, 47%, 82%)
HSVhsv(98, 19%, 91%)
CMYKcmyk(11.7%, 0%, 18.6%, 9.4%)
CIE-LABlab(88.74, -16.56, 18.02)
CIE-LCHlch(88.74, 24.47, 132.58°)
OKLaboklab(89.7% -0.0445 0.0463)
OKLCHoklch(89.7% 0.064 133.9)
XYZxyz(62.5532, 73.6194, 58.4816)
Luminance0.7362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE7BC #D7BCE7
analogous
#E2E7BC #CCE7BC #BCE7C2
triadic
#CCE7BC #BCCCE7 #E7BCCC
tetradic
#CCE7BC #BCE2E7 #D7BCE7 #E7C2BC
square
#CCE7BC #BCE2E7 #D7BCE7 #E7C2BC
split-complementary
#CCE7BC #C2BCE7 #E7BCE2
monochromatic
#87C762 #AAD78F #CCE7BC #EEF7E8 #EEF7E8

Accessibility & contrast

On white

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

On black

15.72
#CCE7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE7BC
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE7BC#FFFFFF#000000##000000
##CCE7BC1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBE0BA
Deuteranopia (green-blind)
#E6DEBE
Tritanopia (blue-blind)
#CCE3DB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cce7bc;
/* rgb */ color: rgb(204, 231, 188);
/* oklch */ color: oklch(89.7% 0.064 133.9);
Tailwind
colors: {
  custom: {
    50: '#dbeed0',
    500: '#cce7bc',
    950: '#000000',
  },
}
SCSS
$custom: #cce7bc;
$custom-light: #dbeed0;
$custom-dark: #000000;
JSON
{
  "hex": "#cce7bc",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 188
  },
  "hsl": {
    "h": 97.674,
    "s": 47.253,
    "l": 82.157
  },
  "oklch": {
    "l": 0.89698,
    "c": 0.06422,
    "h": 133.9
  },
  "luminance": 0.7362
}

Semantic roles & 50–950 ramp

primary
#CCE7BC
secondary
#AB85C2
accent
#2BBB85
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#151614
muted
#848583

Preview Lab

Preview with #CCE7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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