#CCE877#CCE877

#CCE877 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.7% C 0.143 H 120.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#CCE877
RGBrgb(204, 232, 119)
HSLhsl(75, 71%, 69%)
HSVhsv(75, 49%, 91%)
CMYKcmyk(12.1%, 0%, 48.7%, 9%)
CIE-LABlab(87.91, -26.03, 51.50)
CIE-LCHlch(87.91, 57.70, 116.82°)
OKLaboklab(88.68% -0.0733 0.1227)
OKLCHoklch(88.68% 0.143 120.9)
XYZxyz(57.0885, 71.8826, 28.3164)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE877 #9377E8
analogous
#E8CC77 #CCE877 #94E877
triadic
#CCE877 #77CCE8 #E877CC
tetradic
#CCE877 #77E8CC #9377E8 #E87794
square
#CCE877 #77E8CC #9377E8 #E87794
split-complementary
#CCE877 #7794E8 #CC77E8
monochromatic
#9BC421 #B8DF43 #CCE877 #E0F1AB #F3FAE0

Accessibility & contrast

On white

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

On black

15.38
#CCE877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE877
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE877#FFFFFF#000000##000000
##CCE8771.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6D
Deuteranopia (green-blind)
#F0DD7D
Tritanopia (blue-blind)
#D5DECE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce877;
/* rgb */ color: rgb(204, 232, 119);
/* oklch */ color: oklch(88.7% 0.143 120.9);
Tailwind
colors: {
  custom: {
    50: '#ddefa1',
    500: '#cce877',
    950: '#000000',
  },
}
SCSS
$custom: #cce877;
$custom-light: #ddefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cce877",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 74.867,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88675,
    "c": 0.14292,
    "h": 120.9
  },
  "luminance": 0.71883
}

Semantic roles & 50–950 ramp

primary
#CCE877
secondary
#6243C0
accent
#12D342
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE877

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

Preview Lab → · Contrast checker → · Palette generator →

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