#CCE97A#CCE97A

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

Color values

HEX#CCE97A
RGBrgb(204, 233, 122)
HSLhsl(76, 72%, 70%)
HSVhsv(76, 48%, 91%)
CMYKcmyk(12.4%, 0%, 47.6%, 8.6%)
CIE-LABlab(88.22, -26.21, 50.46)
CIE-LCHlch(88.22, 56.86, 117.45°)
OKLaboklab(88.93% -0.0736 0.1206)
OKLCHoklch(88.93% 0.141 121.4)
XYZxyz(57.5538, 72.5204, 29.3744)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE97A #977AE9
analogous
#E9CF7A #CCE97A #94E97A
triadic
#CCE97A #7ACCE9 #E97ACC
tetradic
#CCE97A #7AE9CF #977AE9 #E97A94
square
#CCE97A #7AE9CF #977AE9 #E97A94
split-complementary
#CCE97A #7A94E9 #CF7AE9
monochromatic
#9CC821 #B8E045 #CCE97A #E0F2AF #F4FAE3

Accessibility & contrast

On white

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

On black

15.50
#CCE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE97A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE97A#FFFFFF#000000##000000
##CCE97A1.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE70
Deuteranopia (green-blind)
#F1DD80
Tritanopia (blue-blind)
#D4DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce97a;
/* rgb */ color: rgb(204, 233, 122);
/* oklch */ color: oklch(88.9% 0.141 121.4);
Tailwind
colors: {
  custom: {
    50: '#ddf0a3',
    500: '#cce97a',
    950: '#000000',
  },
}
SCSS
$custom: #cce97a;
$custom-light: #ddf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cce97a",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 75.676,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88932,
    "c": 0.14127,
    "h": 121.4
  },
  "luminance": 0.7252
}

Semantic roles & 50–950 ramp

primary
#CCE97A
secondary
#6646C1
accent
#12D444
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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