#CCF296#CCF296

#CCF296 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.3% C 0.124 H 127.0°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#CCF296
RGBrgb(204, 242, 150)
HSLhsl(85, 78%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(15.7%, 0%, 38%, 5.1%)
CIE-LABlab(91.03, -27.32, 40.42)
CIE-LCHlch(91.03, 48.79, 124.06°)
OKLaboklab(91.31% -0.0749 0.0994)
OKLCHoklch(91.31% 0.124 127)
XYZxyz(62.1584, 78.5430, 40.7338)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF296 #BC96F2
analogous
#F2EA96 #CCF296 #9EF296
triadic
#CCF296 #96CCF2 #F296CC
tetradic
#CCF296 #96F2EA #BC96F2 #F2969E
square
#CCF296 #96F2EA #BC96F2 #F2969E
split-complementary
#CCF296 #969EF2 #EA96F2
monochromatic
#97E529 #B2EB60 #CCF296 #E6F9CC #F2FCE4

Accessibility & contrast

On white

1.26
#CCF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#CCF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF296
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF296#FFFFFF#000000##000000
##CCF2961.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78F
Deuteranopia (green-blind)
#F5E59B
Tritanopia (blue-blind)
#D1EADB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf296;
/* rgb */ color: rgb(204, 242, 150);
/* oklch */ color: oklch(91.3% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#ddf6b6',
    500: '#ccf296',
    950: '#000000',
  },
}
SCSS
$custom: #ccf296;
$custom-light: #ddf6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf296",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 84.783,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91307,
    "c": 0.12447,
    "h": 127
  },
  "luminance": 0.78544
}

Semantic roles & 50–950 ramp

primary
#CCF296
secondary
#8C5DCF
accent
#0BDA61
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF296

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

Preview Lab → · Contrast checker → · Palette generator →

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