#CCE878#CCE878

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

Color values

HEX#CCE878
RGBrgb(204, 232, 120)
HSLhsl(75, 71%, 69%)
HSVhsv(75, 48%, 91%)
CMYKcmyk(12.1%, 0%, 48.3%, 9%)
CIE-LABlab(87.92, -25.93, 51.04)
CIE-LCHlch(87.92, 57.25, 116.93°)
OKLaboklab(88.69% -0.073 0.1218)
OKLCHoklch(88.69% 0.142 120.9)
XYZxyz(57.1489, 71.9067, 28.6343)
Luminance0.7191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE878 #9478E8
analogous
#E8CC78 #CCE878 #94E878
triadic
#CCE878 #78CCE8 #E878CC
tetradic
#CCE878 #78E8CC #9478E8 #E87894
square
#CCE878 #78E8CC #9478E8 #E87894
split-complementary
#CCE878 #7894E8 #CC78E8
monochromatic
#9BC421 #B8DF44 #CCE878 #E0F1AC #F4FAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE878#FFFFFF#000000##000000
##CCE8781.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)
#F4DD6E
Deuteranopia (green-blind)
#F0DD7E
Tritanopia (blue-blind)
#D5DECE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce878;
/* rgb */ color: rgb(204, 232, 120);
/* oklch */ color: oklch(88.7% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#ddefa1',
    500: '#cce878',
    950: '#000000',
  },
}
SCSS
$custom: #cce878;
$custom-light: #ddefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cce878",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 75,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88688,
    "c": 0.14194,
    "h": 120.9
  },
  "luminance": 0.71907
}

Semantic roles & 50–950 ramp

primary
#CCE878
secondary
#6344C0
accent
#13D343
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE878

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

Preview Lab → · Contrast checker → · Palette generator →

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