#CCF96B#CCF96B

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

Color values

HEX#CCF96B
RGBrgb(204, 249, 107)
HSLhsl(79, 92%, 70%)
HSVhsv(79, 57%, 98%)
CMYKcmyk(18.1%, 0%, 57%, 2.4%)
CIE-LABlab(92.42, -35.03, 62.17)
CIE-LCHlch(92.42, 71.36, 119.40°)
OKLaboklab(92.26% -0.0995 0.1447)
OKLCHoklch(92.26% 0.176 124.5)
XYZxyz(61.4316, 81.6498, 26.4306)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF96B #986BF9
analogous
#F9DF6B #CCF96B #85F96B
triadic
#CCF96B #6BCCF9 #F96BCC
tetradic
#CCF96B #6BF9DF #986BF9 #F96B85
square
#CCF96B #6BF9DF #986BF9 #F96B85
split-complementary
#CCF96B #6B85F9 #DF6BF9
monochromatic
#9CE009 #B8F730 #CCF96B #E0FBA6 #F5FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF96B#FFFFFF#000000##000000
##CCF96B1.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)
#FFEB5C
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#D4EEDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf96b;
/* rgb */ color: rgb(204, 249, 107);
/* oklch */ color: oklch(92.3% 0.176 124.5);
Tailwind
colors: {
  custom: {
    50: '#defb9a',
    500: '#ccf96b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf96b;
$custom-light: #defb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf96b",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 79.014,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92261,
    "c": 0.17566,
    "h": 124.5
  },
  "luminance": 0.8165
}

Semantic roles & 50–950 ramp

primary
#CCF96B
secondary
#6735D3
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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