#CCFA97#CCFA97

#CCFA97 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.1% C 0.135 H 129.0°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#CCFA97
RGBrgb(204, 250, 151)
HSLhsl(88, 91%, 79%)
HSVhsv(88, 40%, 98%)
CMYKcmyk(18.4%, 0%, 39.6%, 2%)
CIE-LABlab(93.21, -30.95, 42.73)
CIE-LCHlch(93.21, 52.76, 125.91°)
OKLaboklab(93.06% -0.085 0.1048)
OKLCHoklch(93.06% 0.135 129)
XYZxyz(64.6725, 83.4420, 41.9708)
Luminance0.8344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA97 #C597FA
analogous
#FAF797 #CCFA97 #9AFA97
triadic
#CCFA97 #97CCFA #FA97CC
tetradic
#CCFA97 #97FAF7 #C597FA #FA979A
square
#CCFA97 #97FAF7 #C597FA #FA979A
split-complementary
#CCFA97 #979AFA #F797FA
monochromatic
#93F422 #AFF75D #CCFA97 #E9FDD1 #F1FEE2

Accessibility & contrast

On white

1.19
#CCFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#CCFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA97
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA97#FFFFFF#000000##000000
##CCFA971.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FCEA9C
Tritanopia (blue-blind)
#D0F2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfa97;
/* rgb */ color: rgb(204, 250, 151);
/* oklch */ color: oklch(93.1% 0.135 129.0);
Tailwind
colors: {
  custom: {
    50: '#ddfcb7',
    500: '#ccfa97',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa97;
$custom-light: #ddfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa97",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 87.879,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93062,
    "c": 0.13492,
    "h": 129
  },
  "luminance": 0.83443
}

Semantic roles & 50–950 ramp

primary
#CCFA97
secondary
#965BDA
accent
#00E66B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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