#CCFE97#CCFE97

#CCFE97 is a very light, vivid yellow-green. Relative luminance 0.860; OKLCH L 93.9% C 0.141 H 129.9°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#CCFE97
RGBrgb(204, 254, 151)
HSLhsl(89, 98%, 79%)
HSVhsv(89, 41%, 100%)
CMYKcmyk(19.7%, 0%, 40.6%, 0.4%)
CIE-LABlab(94.29, -32.80, 44.12)
CIE-LCHlch(94.29, 54.98, 126.62°)
OKLaboklab(93.94% -0.0901 0.108)
OKLCHoklch(93.94% 0.141 129.9)
XYZxyz(65.9287, 85.9542, 42.3895)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFE97 #C997FE
analogous
#FEFC97 #CCFE97 #99FE97
triadic
#CCFE97 #97CCFE #FE97CC
tetradic
#CCFE97 #97FEFC #C997FE #FE9799
square
#CCFE97 #97FEFC #C997FE #FE9799
split-complementary
#CCFE97 #9799FE #FC97FE
monochromatic
#91FD1E #AEFD5A #CCFE97 #EAFFD4 #F0FFE1

Accessibility & contrast

On white

1.15
#CCFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#CCFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFE97
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFE97#FFFFFF#000000##000000
##CCFE971.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#CFF6E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ccfe97;
/* rgb */ color: rgb(204, 254, 151);
/* oklch */ color: oklch(93.9% 0.141 129.9);
Tailwind
colors: {
  custom: {
    50: '#ddffb7',
    500: '#ccfe97',
    950: '#000000',
  },
}
SCSS
$custom: #ccfe97;
$custom-light: #ddffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfe97",
  "rgb": {
    "r": 204,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 89.126,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93935,
    "c": 0.14065,
    "h": 129.9
  },
  "luminance": 0.85955
}

Semantic roles & 50–950 ramp

primary
#CCFE97
secondary
#9B59E0
accent
#00E66F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CCFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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