#CCE97C#CCE97C

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

Color values

HEX#CCE97C
RGBrgb(204, 233, 124)
HSLhsl(76, 71%, 70%)
HSVhsv(76, 47%, 91%)
CMYKcmyk(12.4%, 0%, 46.8%, 8.6%)
CIE-LABlab(88.24, -26.01, 49.54)
CIE-LCHlch(88.24, 55.95, 117.70°)
OKLaboklab(88.96% -0.0728 0.1187)
OKLCHoklch(88.96% 0.139 121.5)
XYZxyz(57.6790, 72.5704, 30.0337)
Luminance0.7257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE97C #997CE9
analogous
#E9CF7C #CCE97C #96E97C
triadic
#CCE97C #7CCCE9 #E97CCC
tetradic
#CCE97C #7CE9CF #997CE9 #E97C96
square
#CCE97C #7CE9CF #997CE9 #E97C96
split-complementary
#CCE97C #7C96E9 #CF7CE9
monochromatic
#9CC922 #B8E048 #CCE97C #E0F2B0 #F5FBE5

Accessibility & contrast

On white

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

On black

15.51
#CCE97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE97C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE97C#FFFFFF#000000##000000
##CCE97C1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE73
Deuteranopia (green-blind)
#F1DD82
Tritanopia (blue-blind)
#D4DFD0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce97c;
/* rgb */ color: rgb(204, 233, 124);
/* oklch */ color: oklch(89.0% 0.139 121.5);
Tailwind
colors: {
  custom: {
    50: '#ddf0a4',
    500: '#cce97c',
    950: '#000000',
  },
}
SCSS
$custom: #cce97c;
$custom-light: #ddf0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cce97c",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 75.963,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.88959,
    "c": 0.13927,
    "h": 121.5
  },
  "luminance": 0.7257
}

Semantic roles & 50–950 ramp

primary
#CCE97C
secondary
#6848C2
accent
#12D346
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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