#CCE78A#CCE78A

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

Color values

HEX#CCE78A
RGBrgb(204, 231, 138)
HSLhsl(77, 66%, 72%)
HSVhsv(77, 40%, 91%)
CMYKcmyk(11.7%, 0%, 40.3%, 9.4%)
CIE-LABlab(87.88, -23.52, 42.31)
CIE-LCHlch(87.88, 48.41, 119.07°)
OKLaboklab(88.73% -0.0648 0.1033)
OKLCHoklch(88.73% 0.122 122.1)
XYZxyz(58.0651, 71.8241, 34.8443)
Luminance0.7182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE78A #A58AE7
analogous
#E7D38A #CCE78A #9EE78A
triadic
#CCE78A #8ACCE7 #E78ACC
tetradic
#CCE78A #8AE7D3 #A58AE7 #E78A9E
square
#CCE78A #8AE7D3 #A58AE7 #E78A9E
split-complementary
#CCE78A #8A9EE7 #D38AE7
monochromatic
#9DCD2A #B6DD57 #CCE78A #E2F1BD #F4FAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE78A#FFFFFF#000000##000000
##CCE78A1.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)
#F1DD83
Deuteranopia (green-blind)
#EEDC8F
Tritanopia (blue-blind)
#D3DED0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce78a;
/* rgb */ color: rgb(204, 231, 138);
/* oklch */ color: oklch(88.7% 0.122 122.1);
Tailwind
colors: {
  custom: {
    50: '#ddeead',
    500: '#cce78a',
    950: '#000000',
  },
}
SCSS
$custom: #cce78a;
$custom-light: #ddeead;
$custom-dark: #000000;
JSON
{
  "hex": "#cce78a",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 77.419,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88731,
    "c": 0.12193,
    "h": 122.1
  },
  "luminance": 0.71824
}

Semantic roles & 50–950 ramp

primary
#CCE78A
secondary
#7455C0
accent
#18CE4D
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCE78A

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

Preview Lab → · Contrast checker → · Palette generator →

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