#CCE980#CCE980

#CCE980 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 89.0% C 0.135 H 121.9°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#CCE980
RGBrgb(204, 233, 128)
HSLhsl(77, 70%, 71%)
HSVhsv(77, 45%, 91%)
CMYKcmyk(12.4%, 0%, 45.1%, 8.6%)
CIE-LABlab(88.29, -25.59, 47.69)
CIE-LCHlch(88.29, 54.12, 118.22°)
OKLaboklab(89.02% -0.0714 0.1149)
OKLCHoklch(89.02% 0.135 121.9)
XYZxyz(57.9371, 72.6737, 31.3931)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE980 #9D80E9
analogous
#E9D180 #CCE980 #97E980
triadic
#CCE980 #80CCE9 #E980CC
tetradic
#CCE980 #80E9D1 #9D80E9 #E98097
square
#CCE980 #80E9D1 #9D80E9 #E98097
split-complementary
#CCE980 #8097E9 #D180E9
monochromatic
#9DCB23 #B7E04C #CCE980 #E1F2B4 #F5FAE5

Accessibility & contrast

On white

1.35
#CCE980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#CCE980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE980
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE980#FFFFFF#000000##000000
##CCE9801.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE77
Deuteranopia (green-blind)
#F0DE86
Tritanopia (blue-blind)
#D4E0D0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce980;
/* rgb */ color: rgb(204, 233, 128);
/* oklch */ color: oklch(89.0% 0.135 121.9);
Tailwind
colors: {
  custom: {
    50: '#ddf0a7',
    500: '#cce980',
    950: '#000000',
  },
}
SCSS
$custom: #cce980;
$custom-light: #ddf0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cce980",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 128
  },
  "hsl": {
    "h": 76.571,
    "s": 70.47,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89015,
    "c": 0.13521,
    "h": 121.9
  },
  "luminance": 0.72674
}

Semantic roles & 50–950 ramp

primary
#CCE980
secondary
#6C4BC2
accent
#13D248
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE980

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

Preview Lab → · Contrast checker → · Palette generator →

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