#CCE187#CCE187

#CCE187 is a very light, moderate yellow-green. Relative luminance 0.684; OKLCH L 87.4% C 0.117 H 119.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#CCE187
RGBrgb(204, 225, 135)
HSLhsl(74, 60%, 71%)
HSVhsv(74, 40%, 88%)
CMYKcmyk(9.3%, 0%, 40%, 11.8%)
CIE-LABlab(86.22, -20.96, 41.68)
CIE-LCHlch(86.22, 46.65, 116.69°)
OKLaboklab(87.39% -0.0578 0.1017)
OKLCHoklch(87.39% 0.117 119.6)
XYZxyz(56.2003, 68.4373, 33.1660)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE187 #9C87E1
analogous
#E1C987 #CCE187 #9FE187
triadic
#CCE187 #87CCE1 #E187CC
tetradic
#CCE187 #87E1C9 #9C87E1 #E1879F
square
#CCE187 #87E1C9 #9C87E1 #E1879F
split-complementary
#CCE187 #879FE1 #C987E1
monochromatic
#9DBE30 #B7D556 #CCE187 #E1EDB8 #F5F9E7

Accessibility & contrast

On white

1.43
#CCE187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#CCE187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE187
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE187#FFFFFF#000000##000000
##CCE1871.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD880
Deuteranopia (green-blind)
#E9D88B
Tritanopia (blue-blind)
#D4D8CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce187;
/* rgb */ color: rgb(204, 225, 135);
/* oklch */ color: oklch(87.4% 0.117 119.6);
Tailwind
colors: {
  custom: {
    50: '#ddeaab',
    500: '#cce187',
    950: '#000000',
  },
}
SCSS
$custom: #cce187;
$custom-light: #ddeaab;
$custom-dark: #000000;
JSON
{
  "hex": "#cce187",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 74,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8739,
    "c": 0.11696,
    "h": 119.6
  },
  "luminance": 0.68437
}

Semantic roles & 50–950 ramp

primary
#CCE187
secondary
#6B53B9
accent
#1EC845
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CCE187

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

Preview Lab → · Contrast checker → · Palette generator →

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