#CCE785#CCE785

#CCE785 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.7% C 0.127 H 121.6°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#CCE785
RGBrgb(204, 231, 133)
HSLhsl(77, 67%, 71%)
HSVhsv(77, 42%, 91%)
CMYKcmyk(11.7%, 0%, 42.4%, 9.4%)
CIE-LABlab(87.82, -24.09, 44.67)
CIE-LCHlch(87.82, 50.75, 118.33°)
OKLaboklab(88.65% -0.0668 0.1084)
OKLCHoklch(88.65% 0.127 121.6)
XYZxyz(57.7114, 71.6826, 32.9815)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE785 #A085E7
analogous
#E7D185 #CCE785 #9BE785
triadic
#CCE785 #85CCE7 #E785CC
tetradic
#CCE785 #85E7D1 #A085E7 #E7859B
square
#CCE785 #85E7D1 #A085E7 #E7859B
split-complementary
#CCE785 #859BE7 #D185E7
monochromatic
#9DCA28 #B7DD52 #CCE785 #E1F1B8 #F4FAE5

Accessibility & contrast

On white

1.37
#CCE785 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#CCE785 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE785
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE785#FFFFFF#000000##000000
##CCE7851.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7D
Deuteranopia (green-blind)
#EEDC8A
Tritanopia (blue-blind)
#D3DECF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce785;
/* rgb */ color: rgb(204, 231, 133);
/* oklch */ color: oklch(88.7% 0.127 121.6);
Tailwind
colors: {
  custom: {
    50: '#ddeeaa',
    500: '#cce785',
    950: '#000000',
  },
}
SCSS
$custom: #cce785;
$custom-light: #ddeeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cce785",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 133
  },
  "hsl": {
    "h": 76.531,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88654,
    "c": 0.12729,
    "h": 121.6
  },
  "luminance": 0.71683
}

Semantic roles & 50–950 ramp

primary
#CCE785
secondary
#6F50C0
accent
#16CF49
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCE785

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

Preview Lab → · Contrast checker → · Palette generator →

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