#CCF196#CCF196

#CCF196 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 91.1% C 0.123 H 126.7°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#CCF196
RGBrgb(204, 241, 150)
HSLhsl(84, 76%, 77%)
HSVhsv(84, 38%, 95%)
CMYKcmyk(15.4%, 0%, 37.8%, 5.5%)
CIE-LABlab(90.76, -26.85, 40.07)
CIE-LCHlch(90.76, 48.23, 123.83°)
OKLaboklab(91.09% -0.0736 0.0986)
OKLCHoklch(91.09% 0.123 126.7)
XYZxyz(61.8616, 77.9494, 40.6349)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF196 #BB96F1
analogous
#F1E996 #CCF196 #9FF196
triadic
#CCF196 #96CCF1 #F196CC
tetradic
#CCF196 #96F1E9 #BB96F1 #F1969F
square
#CCF196 #96F1E9 #BB96F1 #F1969F
split-complementary
#CCF196 #969FF1 #E996F1
monochromatic
#98E32A #B2EA60 #CCF196 #E6F8CC #F2FBE4

Accessibility & contrast

On white

1.27
#CCF196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#CCF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF196
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF196#FFFFFF#000000##000000
##CCF1961.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68F
Deuteranopia (green-blind)
#F5E49B
Tritanopia (blue-blind)
#D1E9DA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf196;
/* rgb */ color: rgb(204, 241, 150);
/* oklch */ color: oklch(91.1% 0.123 126.7);
Tailwind
colors: {
  custom: {
    50: '#dcf5b6',
    500: '#ccf196',
    950: '#000000',
  },
}
SCSS
$custom: #ccf196;
$custom-light: #dcf5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf196",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 84.396,
    "s": 76.471,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9109,
    "c": 0.12304,
    "h": 126.7
  },
  "luminance": 0.7795
}

Semantic roles & 50–950 ramp

primary
#CCF196
secondary
#8B5DCE
accent
#0DD960
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF196

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

Preview Lab → · Contrast checker → · Palette generator →

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