#CCF96C#CCF96C

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

Color values

HEX#CCF96C
RGBrgb(204, 249, 108)
HSLhsl(79, 92%, 70%)
HSVhsv(79, 57%, 98%)
CMYKcmyk(18.1%, 0%, 56.6%, 2.4%)
CIE-LABlab(92.43, -34.94, 61.75)
CIE-LCHlch(92.43, 70.95, 119.50°)
OKLaboklab(92.27% -0.0992 0.1439)
OKLCHoklch(92.27% 0.175 124.6)
XYZxyz(61.4845, 81.6709, 26.7093)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF96C #996CF9
analogous
#F9E06C #CCF96C #85F96C
triadic
#CCF96C #6CCCF9 #F96CCC
tetradic
#CCF96C #6CF9E0 #996CF9 #F96C85
square
#CCF96C #6CF9E0 #996CF9 #F96C85
split-complementary
#CCF96C #6C85F9 #E06CF9
monochromatic
#9CE109 #B8F731 #CCF96C #E0FBA7 #F5FEE2

Accessibility & contrast

On white

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

On black

17.33
#CCF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF96C
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF96C#FFFFFF#000000##000000
##CCF96C1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#D4EEDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf96c;
/* rgb */ color: rgb(204, 249, 108);
/* oklch */ color: oklch(92.3% 0.175 124.6);
Tailwind
colors: {
  custom: {
    50: '#defb9a',
    500: '#ccf96c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf96c;
$custom-light: #defb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf96c",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 79.149,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.92272,
    "c": 0.17482,
    "h": 124.6
  },
  "luminance": 0.81671
}

Semantic roles & 50–950 ramp

primary
#CCF96C
secondary
#6836D4
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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