#CCFC97#CCFC97

#CCFC97 is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.5% C 0.138 H 129.5°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#CCFC97
RGBrgb(204, 252, 151)
HSLhsl(89, 94%, 79%)
HSVhsv(89, 40%, 99%)
CMYKcmyk(19%, 0%, 40.1%, 1.2%)
CIE-LABlab(93.75, -31.87, 43.43)
CIE-LCHlch(93.75, 53.87, 126.28°)
OKLaboklab(93.5% -0.0876 0.1064)
OKLCHoklch(93.5% 0.138 129.5)
XYZxyz(65.2973, 84.6915, 42.1791)
Luminance0.8469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFC97 #C797FC
analogous
#FCFA97 #CCFC97 #9AFC97
triadic
#CCFC97 #97CCFC #FC97CC
tetradic
#CCFC97 #97FCFA #C797FC #FC979A
square
#CCFC97 #97FCFA #C797FC #FC979A
split-complementary
#CCFC97 #979AFC #FA97FC
monochromatic
#92F920 #AFFA5C #CCFC97 #E9FED2 #F0FEE1

Accessibility & contrast

On white

1.17
#CCFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#CCFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFC97
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFC97#FFFFFF#000000##000000
##CCFC971.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#D0F4E3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ccfc97;
/* rgb */ color: rgb(204, 252, 151);
/* oklch */ color: oklch(93.5% 0.138 129.5);
Tailwind
colors: {
  custom: {
    50: '#ddfdb7',
    500: '#ccfc97',
    950: '#000000',
  },
}
SCSS
$custom: #ccfc97;
$custom-light: #ddfdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfc97",
  "rgb": {
    "r": 204,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 88.515,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93499,
    "c": 0.13779,
    "h": 129.5
  },
  "luminance": 0.84693
}

Semantic roles & 50–950 ramp

primary
#CCFC97
secondary
#985ADD
accent
#00E66D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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