#CCF796#CCF796

#CCF796 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.4% C 0.132 H 128.2°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#CCF796
RGBrgb(204, 247, 150)
HSLhsl(87, 86%, 78%)
HSVhsv(87, 39%, 97%)
CMYKcmyk(17.4%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.38, -29.67, 42.16)
CIE-LCHlch(92.38, 51.56, 125.14°)
OKLaboklab(92.39% -0.0815 0.1034)
OKLCHoklch(92.39% 0.132 128.2)
XYZxyz(63.6669, 81.5601, 41.2367)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF796 #C196F7
analogous
#F7F296 #CCF796 #9BF796
triadic
#CCF796 #96CCF7 #F796CC
tetradic
#CCF796 #96F7F2 #C196F7 #F7969B
square
#CCF796 #96F7F2 #C196F7 #F7969B
split-complementary
#CCF796 #969BF7 #F296F7
monochromatic
#95EE24 #B0F35D #CCF796 #E8FBCF #F1FDE3

Accessibility & contrast

On white

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

On black

17.31
#CCF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF796
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF796#FFFFFF#000000##000000
##CCF7961.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FAE89B
Tritanopia (blue-blind)
#D0EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf796;
/* rgb */ color: rgb(204, 247, 150);
/* oklch */ color: oklch(92.4% 0.132 128.2);
Tailwind
colors: {
  custom: {
    50: '#ddfab6',
    500: '#ccf796',
    950: '#000000',
  },
}
SCSS
$custom: #ccf796;
$custom-light: #ddfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf796",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 86.598,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92393,
    "c": 0.13167,
    "h": 128.2
  },
  "luminance": 0.81561
}

Semantic roles & 50–950 ramp

primary
#CCF796
secondary
#925BD6
accent
#03E266
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF796

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

Preview Lab → · Contrast checker → · Palette generator →

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