#CCE97E#CCE97E

#CCE97E is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 89.0% C 0.137 H 121.7°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#CCE97E
RGBrgb(204, 233, 126)
HSLhsl(76, 71%, 70%)
HSVhsv(76, 46%, 91%)
CMYKcmyk(12.4%, 0%, 45.9%, 8.6%)
CIE-LABlab(88.27, -25.80, 48.61)
CIE-LCHlch(88.27, 55.04, 117.95°)
OKLaboklab(88.99% -0.0721 0.1168)
OKLCHoklch(88.99% 0.137 121.7)
XYZxyz(57.8068, 72.6215, 30.7066)
Luminance0.7262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE97E #9B7EE9
analogous
#E9D17E #CCE97E #96E97E
triadic
#CCE97E #7ECCE9 #E97ECC
tetradic
#CCE97E #7EE9D1 #9B7EE9 #E97E96
square
#CCE97E #7EE9D1 #9B7EE9 #E97E96
split-complementary
#CCE97E #7E96E9 #D17EE9
monochromatic
#9DCA22 #B7E04A #CCE97E #E1F2B2 #F5FBE5

Accessibility & contrast

On white

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

On black

15.52
#CCE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE97E
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE97E#FFFFFF#000000##000000
##CCE97E1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce97e;
/* rgb */ color: rgb(204, 233, 126);
/* oklch */ color: oklch(89.0% 0.137 121.7);
Tailwind
colors: {
  custom: {
    50: '#ddf0a5',
    500: '#cce97e',
    950: '#000000',
  },
}
SCSS
$custom: #cce97e;
$custom-light: #ddf0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cce97e",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 76.262,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88987,
    "c": 0.13726,
    "h": 121.7
  },
  "luminance": 0.72622
}

Semantic roles & 50–950 ramp

primary
#CCE97E
secondary
#6A49C2
accent
#13D347
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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