#CCFB97#CCFB97

#CCFB97 is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.3% C 0.136 H 129.3°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#CCFB97
RGBrgb(204, 251, 151)
HSLhsl(88, 93%, 79%)
HSVhsv(88, 40%, 98%)
CMYKcmyk(18.7%, 0%, 39.8%, 1.6%)
CIE-LABlab(93.48, -31.41, 43.08)
CIE-LCHlch(93.48, 53.32, 126.10°)
OKLaboklab(93.28% -0.0863 0.1056)
OKLCHoklch(93.28% 0.136 129.3)
XYZxyz(64.9841, 84.0651, 42.0747)
Luminance0.8407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB97 #C697FB
analogous
#FBF897 #CCFB97 #9AFB97
triadic
#CCFB97 #97CCFB #FB97CC
tetradic
#CCFB97 #97FBF8 #C697FB #FB979A
square
#CCFB97 #97FBF8 #C697FB #FB979A
split-complementary
#CCFB97 #979AFB #F897FB
monochromatic
#92F621 #AFF95C #CCFB97 #E9FDD2 #F1FEE2

Accessibility & contrast

On white

1.18
#CCFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#CCFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB97
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB97#FFFFFF#000000##000000
##CCFB971.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#D0F3E2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfb97;
/* rgb */ color: rgb(204, 251, 151);
/* oklch */ color: oklch(93.3% 0.136 129.3);
Tailwind
colors: {
  custom: {
    50: '#ddfcb7',
    500: '#ccfb97',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb97;
$custom-light: #ddfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb97",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 88.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.9328,
    "c": 0.13636,
    "h": 129.3
  },
  "luminance": 0.84066
}

Semantic roles & 50–950 ramp

primary
#CCFB97
secondary
#975ADC
accent
#00E66C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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