#CCE978#CCE978

#CCE978 is a very light, vivid yellow-green. Relative luminance 0.725; OKLCH L 88.9% C 0.143 H 121.2°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#CCE978
RGBrgb(204, 233, 120)
HSLhsl(75, 72%, 69%)
HSVhsv(75, 48%, 91%)
CMYKcmyk(12.4%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.19, -26.41, 51.37)
CIE-LCHlch(88.19, 57.76, 117.21°)
OKLaboklab(88.91% -0.0743 0.1225)
OKLCHoklch(88.91% 0.143 121.2)
XYZxyz(57.4312, 72.4713, 28.7284)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE978 #9578E9
analogous
#E9CE78 #CCE978 #94E978
triadic
#CCE978 #78CCE9 #E978CC
tetradic
#CCE978 #78E9CE #9578E9 #E97894
square
#CCE978 #78E9CE #9578E9 #E97894
split-complementary
#CCE978 #7894E9 #CE78E9
monochromatic
#9CC620 #B8E043 #CCE978 #E0F2AD #F4FAE1

Accessibility & contrast

On white

1.36
#CCE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#CCE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE978
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE978#FFFFFF#000000##000000
##CCE9781.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F1DD7E
Tritanopia (blue-blind)
#D5DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce978;
/* rgb */ color: rgb(204, 233, 120);
/* oklch */ color: oklch(88.9% 0.143 121.2);
Tailwind
colors: {
  custom: {
    50: '#ddf0a1',
    500: '#cce978',
    950: '#000000',
  },
}
SCSS
$custom: #cce978;
$custom-light: #ddf0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cce978",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 75.398,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88906,
    "c": 0.14325,
    "h": 121.2
  },
  "luminance": 0.72471
}

Semantic roles & 50–950 ramp

primary
#CCE978
secondary
#6444C1
accent
#11D443
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE978

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

Preview Lab → · Contrast checker → · Palette generator →

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