#CCFF97#CCFF97

#CCFF97 is a very light, vivid yellow-green. Relative luminance 0.866; OKLCH L 94.2% C 0.142 H 130.1°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#CCFF97
RGBrgb(204, 255, 151)
HSLhsl(89, 100%, 80%)
HSVhsv(89, 41%, 100%)
CMYKcmyk(20%, 0%, 40.8%, 0%)
CIE-LABlab(94.56, -33.26, 44.47)
CIE-LCHlch(94.56, 55.53, 126.79°)
OKLaboklab(94.15% -0.0914 0.1088)
OKLCHoklch(94.15% 0.142 130.1)
XYZxyz(66.2468, 86.5906, 42.4956)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF97 #CA97FF
analogous
#FFFE97 #CCFF97 #98FF97
triadic
#CCFF97 #97CCFF #FF97CC
tetradic
#CCFF97 #97FFFE #CA97FF #FF9798
square
#CCFF97 #97FFFE #CA97FF #FF9798
split-complementary
#CCFF97 #9798FF #FE97FF
monochromatic
#90FF1D #AEFF5A #CCFF97 #EAFFD4 #F0FFE0

Accessibility & contrast

On white

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

On black

18.32
#CCFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF97
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF97#FFFFFF#000000##000000
##CCFF971.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#CFF7E6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ccff97;
/* rgb */ color: rgb(204, 255, 151);
/* oklch */ color: oklch(94.2% 0.142 130.1);
Tailwind
colors: {
  custom: {
    50: '#ddffb7',
    500: '#ccff97',
    950: '#000000',
  },
}
SCSS
$custom: #ccff97;
$custom-light: #ddffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff97",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 89.423,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94154,
    "c": 0.14208,
    "h": 130.1
  },
  "luminance": 0.86592
}

Semantic roles & 50–950 ramp

primary
#CCFF97
secondary
#9C59E2
accent
#00E671
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CCFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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