#CCE97F#CCE97F

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

Color values

HEX#CCE97F
RGBrgb(204, 233, 127)
HSLhsl(76, 71%, 71%)
HSVhsv(76, 45%, 91%)
CMYKcmyk(12.4%, 0%, 45.5%, 8.6%)
CIE-LABlab(88.28, -25.69, 48.15)
CIE-LCHlch(88.28, 54.58, 118.09°)
OKLaboklab(89% -0.0717 0.1158)
OKLCHoklch(89% 0.136 121.8)
XYZxyz(57.8716, 72.6475, 31.0481)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE97F #9C7FE9
analogous
#E9D17F #CCE97F #97E97F
triadic
#CCE97F #7FCCE9 #E97FCC
tetradic
#CCE97F #7FE9D1 #9C7FE9 #E97F97
square
#CCE97F #7FE9D1 #9C7FE9 #E97F97
split-complementary
#CCE97F #7F97E9 #D17FE9
monochromatic
#9DCB23 #B7E04B #CCE97F #E1F2B3 #F5FBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE97F#FFFFFF#000000##000000
##CCE97F1.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)
#F4DE76
Deuteranopia (green-blind)
#F0DE85
Tritanopia (blue-blind)
#D4E0D0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce97f;
/* rgb */ color: rgb(204, 233, 127);
/* oklch */ color: oklch(89.0% 0.136 121.8);
Tailwind
colors: {
  custom: {
    50: '#ddf0a6',
    500: '#cce97f',
    950: '#000000',
  },
}
SCSS
$custom: #cce97f;
$custom-light: #ddf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cce97f",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 76.415,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89001,
    "c": 0.13623,
    "h": 121.8
  },
  "luminance": 0.72648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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