#CCF97F#CCF97F

#CCF97F is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.158 H 126.0°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#CCF97F
RGBrgb(204, 249, 127)
HSLhsl(82, 91%, 74%)
HSVhsv(82, 49%, 98%)
CMYKcmyk(18.1%, 0%, 49%, 2.4%)
CIE-LABlab(92.63, -33.18, 53.45)
CIE-LCHlch(92.63, 62.91, 121.83°)
OKLaboklab(92.5% -0.0927 0.1276)
OKLCHoklch(92.5% 0.158 126)
XYZxyz(62.6081, 82.1204, 32.6269)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97F #AC7FF9
analogous
#F9E97F #CCF97F #8FF97F
triadic
#CCF97F #7FCCF9 #F97FCC
tetradic
#CCF97F #7FF9E9 #AC7FF9 #F97F8F
square
#CCF97F #7FF9E9 #AC7FF9 #F97F8F
split-complementary
#CCF97F #7F8FF9 #E97FF9
monochromatic
#9DF20B #B5F645 #CCF97F #E3FCB9 #F3FEE2

Accessibility & contrast

On white

1.21
#CCF97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#CCF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF97F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF97F#FFFFFF#000000##000000
##CCF97F1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC74
Deuteranopia (green-blind)
#FEE986
Tritanopia (blue-blind)
#D2EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97f;
/* rgb */ color: rgb(204, 249, 127);
/* oklch */ color: oklch(92.5% 0.158 126.0);
Tailwind
colors: {
  custom: {
    50: '#ddfba7',
    500: '#ccf97f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97f;
$custom-light: #ddfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97f",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 82.131,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92496,
    "c": 0.15771,
    "h": 126
  },
  "luminance": 0.82121
}

Semantic roles & 50–950 ramp

primary
#CCF97F
secondary
#7B46D6
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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