#CCE186#CCE186

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

Color values

HEX#CCE186
RGBrgb(204, 225, 134)
HSLhsl(74, 60%, 70%)
HSVhsv(74, 40%, 88%)
CMYKcmyk(9.3%, 0%, 40.4%, 11.8%)
CIE-LABlab(86.21, -21.07, 42.16)
CIE-LCHlch(86.21, 47.13, 116.56°)
OKLaboklab(87.37% -0.0582 0.1027)
OKLCHoklch(87.37% 0.118 119.5)
XYZxyz(56.1302, 68.4092, 32.7969)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE186 #9B86E1
analogous
#E1C886 #CCE186 #9EE186
triadic
#CCE186 #86CCE1 #E186CC
tetradic
#CCE186 #86E1C8 #9B86E1 #E1869E
square
#CCE186 #86E1C8 #9B86E1 #E1869E
split-complementary
#CCE186 #869EE1 #C886E1
monochromatic
#9DBE2F #B7D555 #CCE186 #E1EDB7 #F5F9E6

Accessibility & contrast

On white

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

On black

14.68
#CCE186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE186
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE186#FFFFFF#000000##000000
##CCE1861.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce186;
/* rgb */ color: rgb(204, 225, 134);
/* oklch */ color: oklch(87.4% 0.118 119.5);
Tailwind
colors: {
  custom: {
    50: '#ddeaaa',
    500: '#cce186',
    950: '#000000',
  },
}
SCSS
$custom: #cce186;
$custom-light: #ddeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cce186",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 73.846,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87374,
    "c": 0.11806,
    "h": 119.5
  },
  "luminance": 0.68409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE186

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

Preview Lab → · Contrast checker → · Palette generator →

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