#CCF997#CCF997

#CCF997 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.133 H 128.8°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#CCF997
RGBrgb(204, 249, 151)
HSLhsl(88, 89%, 78%)
HSVhsv(88, 39%, 98%)
CMYKcmyk(18.1%, 0%, 39.4%, 2.4%)
CIE-LABlab(92.94, -30.48, 42.39)
CIE-LCHlch(92.94, 52.21, 125.72°)
OKLaboklab(92.85% -0.0837 0.104)
OKLCHoklch(92.85% 0.133 128.8)
XYZxyz(64.3626, 82.8222, 41.8675)
Luminance0.8282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF997 #C497F9
analogous
#F9F597 #CCF997 #9BF997
triadic
#CCF997 #97CCF9 #F997CC
tetradic
#CCF997 #97F9F5 #C497F9 #F9979B
square
#CCF997 #97F9F5 #C497F9 #F9979B
split-complementary
#CCF997 #979BF9 #F597F9
monochromatic
#93F223 #B0F65D #CCF997 #E8FCD1 #F1FDE2

Accessibility & contrast

On white

1.20
#CCF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#CCF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF997
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF997#FFFFFF#000000##000000
##CCF9971.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#D0F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccf997;
/* rgb */ color: rgb(204, 249, 151);
/* oklch */ color: oklch(92.8% 0.133 128.8);
Tailwind
colors: {
  custom: {
    50: '#ddfbb7',
    500: '#ccf997',
    950: '#000000',
  },
}
SCSS
$custom: #ccf997;
$custom-light: #ddfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf997",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 87.551,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92845,
    "c": 0.13348,
    "h": 128.8
  },
  "luminance": 0.82823
}

Semantic roles & 50–950 ramp

primary
#CCF997
secondary
#955BD9
accent
#00E669
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF997

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

Preview Lab → · Contrast checker → · Palette generator →

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