#CCE778#CCE778

#CCE778 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.5% C 0.141 H 120.6°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#CCE778
RGBrgb(204, 231, 120)
HSLhsl(75, 70%, 69%)
HSVhsv(75, 48%, 91%)
CMYKcmyk(11.7%, 0%, 48.1%, 9.4%)
CIE-LABlab(87.65, -25.46, 50.71)
CIE-LCHlch(87.65, 56.75, 116.65°)
OKLaboklab(88.47% -0.0716 0.121)
OKLCHoklch(88.47% 0.141 120.6)
XYZxyz(56.8682, 71.3454, 28.5408)
Luminance0.7135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE778 #9378E7
analogous
#E7CB78 #CCE778 #95E778
triadic
#CCE778 #78CCE7 #E778CC
tetradic
#CCE778 #78E7CB #9378E7 #E77895
square
#CCE778 #78E7CB #9378E7 #E77895
split-complementary
#CCE778 #7895E7 #CB78E7
monochromatic
#9BC223 #B8DE44 #CCE778 #E0F0AC #F3F9E0

Accessibility & contrast

On white

1.38
#CCE778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#CCE778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE778
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE778#FFFFFF#000000##000000
##CCE7781.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#EFDC7E
Tritanopia (blue-blind)
#D5DDCD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce778;
/* rgb */ color: rgb(204, 231, 120);
/* oklch */ color: oklch(88.5% 0.141 120.6);
Tailwind
colors: {
  custom: {
    50: '#ddeea1',
    500: '#cce778',
    950: '#000000',
  },
}
SCSS
$custom: #cce778;
$custom-light: #ddeea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cce778",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 74.595,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88471,
    "c": 0.14062,
    "h": 120.6
  },
  "luminance": 0.71345
}

Semantic roles & 50–950 ramp

primary
#CCE778
secondary
#6244BF
accent
#14D242
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE778

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

Preview Lab → · Contrast checker → · Palette generator →

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