#CCE789#CCE789

#CCE789 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.7% C 0.123 H 122.0°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#CCE789
RGBrgb(204, 231, 137)
HSLhsl(77, 66%, 72%)
HSVhsv(77, 41%, 91%)
CMYKcmyk(11.7%, 0%, 40.7%, 9.4%)
CIE-LABlab(87.87, -23.63, 42.78)
CIE-LCHlch(87.87, 48.88, 118.92°)
OKLaboklab(88.72% -0.0652 0.1043)
OKLCHoklch(88.72% 0.123 122)
XYZxyz(57.9930, 71.7953, 34.4647)
Luminance0.7179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE789 #A489E7
analogous
#E7D389 #CCE789 #9DE789
triadic
#CCE789 #89CCE7 #E789CC
tetradic
#CCE789 #89E7D3 #A489E7 #E7899D
square
#CCE789 #89E7D3 #A489E7 #E7899D
split-complementary
#CCE789 #899DE7 #D389E7
monochromatic
#9DCC2A #B6DD56 #CCE789 #E2F1BC #F4FAE6

Accessibility & contrast

On white

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

On black

15.36
#CCE789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE789
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE789#FFFFFF#000000##000000
##CCE7891.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD82
Deuteranopia (green-blind)
#EEDC8E
Tritanopia (blue-blind)
#D3DED0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce789;
/* rgb */ color: rgb(204, 231, 137);
/* oklch */ color: oklch(88.7% 0.123 122.0);
Tailwind
colors: {
  custom: {
    50: '#ddeead',
    500: '#cce789',
    950: '#000000',
  },
}
SCSS
$custom: #cce789;
$custom-light: #ddeead;
$custom-dark: #000000;
JSON
{
  "hex": "#cce789",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 137
  },
  "hsl": {
    "h": 77.234,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88716,
    "c": 0.12301,
    "h": 122
  },
  "luminance": 0.71795
}

Semantic roles & 50–950 ramp

primary
#CCE789
secondary
#7354C0
accent
#17CE4C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCE789

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

Preview Lab → · Contrast checker → · Palette generator →

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