#CCF996#CCF996

#CCF996 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.135 H 128.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#CCF996
RGBrgb(204, 249, 150)
HSLhsl(87, 89%, 78%)
HSVhsv(87, 40%, 98%)
CMYKcmyk(18.1%, 0%, 39.8%, 2.4%)
CIE-LABlab(92.92, -30.61, 42.86)
CIE-LCHlch(92.92, 52.66, 125.53°)
OKLaboklab(92.83% -0.0841 0.105)
OKLCHoklch(92.83% 0.135 128.7)
XYZxyz(64.2818, 82.7899, 41.4416)
Luminance0.8279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF996 #C396F9
analogous
#F9F596 #CCF996 #9AF996
triadic
#CCF996 #96CCF9 #F996CC
tetradic
#CCF996 #96F9F5 #C396F9 #F9969A
square
#CCF996 #96F9F5 #C396F9 #F9969A
split-complementary
#CCF996 #969AF9 #F596F9
monochromatic
#94F222 #B0F65C #CCF996 #E8FCD0 #F1FDE2

Accessibility & contrast

On white

1.20
#CCF996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#CCF996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF996
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF996#FFFFFF#000000##000000
##CCF9961.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#D0F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccf996;
/* rgb */ color: rgb(204, 249, 150);
/* oklch */ color: oklch(92.8% 0.135 128.7);
Tailwind
colors: {
  custom: {
    50: '#ddfbb6',
    500: '#ccf996',
    950: '#000000',
  },
}
SCSS
$custom: #ccf996;
$custom-light: #ddfbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf996",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 87.273,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92829,
    "c": 0.13454,
    "h": 128.7
  },
  "luminance": 0.82791
}

Semantic roles & 50–950 ramp

primary
#CCF996
secondary
#945AD9
accent
#00E668
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF996

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

Preview Lab → · Contrast checker → · Palette generator →

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