#CCE178#CCE178

#CCE178 is a very light, vivid yellow-green. Relative luminance 0.680; OKLCH L 87.2% C 0.133 H 118.6°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#CCE178
RGBrgb(204, 225, 120)
HSLhsl(72, 64%, 68%)
HSVhsv(72, 47%, 88%)
CMYKcmyk(9.3%, 0%, 46.7%, 11.8%)
CIE-LABlab(86.03, -22.57, 48.74)
CIE-LCHlch(86.03, 53.72, 114.85°)
OKLaboklab(87.17% -0.0635 0.1167)
OKLCHoklch(87.17% 0.133 118.6)
XYZxyz(55.2177, 68.0442, 27.9906)
Luminance0.6804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE178 #8D78E1
analogous
#E1C178 #CCE178 #97E178
triadic
#CCE178 #78CCE1 #E178CC
tetradic
#CCE178 #78E1C1 #8D78E1 #E17897
square
#CCE178 #78E1C1 #8D78E1 #E17897
split-complementary
#CCE178 #7897E1 #C178E1
monochromatic
#9AB628 #B9D646 #CCE178 #DFECAA #F2F7DC

Accessibility & contrast

On white

1.44
#CCE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#CCE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE178
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE178#FFFFFF#000000##000000
##CCE1781.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#D5D7C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce178;
/* rgb */ color: rgb(204, 225, 120);
/* oklch */ color: oklch(87.2% 0.133 118.6);
Tailwind
colors: {
  custom: {
    50: '#ddeaa1',
    500: '#cce178',
    950: '#000000',
  },
}
SCSS
$custom: #cce178;
$custom-light: #ddeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cce178",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 72,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87169,
    "c": 0.13282,
    "h": 118.6
  },
  "luminance": 0.68044
}

Semantic roles & 50–950 ramp

primary
#CCE178
secondary
#5D46B7
accent
#1ACB3E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE178

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

Preview Lab → · Contrast checker → · Palette generator →

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