#CCF96F#CCF96F

#CCF96F is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.172 H 124.8°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#CCF96F
RGBrgb(204, 249, 111)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 55%, 98%)
CMYKcmyk(18.1%, 0%, 55.4%, 2.4%)
CIE-LABlab(92.46, -34.69, 60.48)
CIE-LCHlch(92.46, 69.72, 119.84°)
OKLaboklab(92.3% -0.0982 0.1415)
OKLCHoklch(92.3% 0.172 124.8)
XYZxyz(61.6469, 81.7359, 27.5647)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF96F #9C6FF9
analogous
#F9E16F #CCF96F #87F96F
triadic
#CCF96F #6FCCF9 #F96FCC
tetradic
#CCF96F #6FF9E1 #9C6FF9 #F96F87
square
#CCF96F #6FF9E1 #9C6FF9 #F96F87
split-complementary
#CCF96F #6F87F9 #E16FF9
monochromatic
#9DE40A #B7F734 #CCF96F #E1FBAA #F5FEE2

Accessibility & contrast

On white

1.21
#CCF96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#CCF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF96F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF96F#FFFFFF#000000##000000
##CCF96F1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#D4EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf96f;
/* rgb */ color: rgb(204, 249, 111);
/* oklch */ color: oklch(92.3% 0.172 124.8);
Tailwind
colors: {
  custom: {
    50: '#defb9c',
    500: '#ccf96f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf96f;
$custom-light: #defb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf96f",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 79.565,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92304,
    "c": 0.17226,
    "h": 124.8
  },
  "luminance": 0.81736
}

Semantic roles & 50–950 ramp

primary
#CCF96F
secondary
#6B38D4
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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