#CCF97D#CCF97D

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

Color values

HEX#CCF97D
RGBrgb(204, 249, 125)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18.1%, 0%, 49.8%, 2.4%)
CIE-LABlab(92.61, -33.38, 54.35)
CIE-LCHlch(92.61, 63.78, 121.56°)
OKLaboklab(92.47% -0.0934 0.1294)
OKLCHoklch(92.47% 0.16 125.8)
XYZxyz(62.4791, 82.0688, 31.9473)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97D #AA7DF9
analogous
#F9E87D #CCF97D #8EF97D
triadic
#CCF97D #7DCCF9 #F97DCC
tetradic
#CCF97D #7DF9E8 #AA7DF9 #F97D8E
square
#CCF97D #7DF9E8 #AA7DF9 #F97D8E
split-complementary
#CCF97D #7D8EF9 #E87DF9
monochromatic
#9DF00B #B5F642 #CCF97D #E3FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

17.41
#CCF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF97D
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF97D#FFFFFF#000000##000000
##CCF97D1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FEE984
Tritanopia (blue-blind)
#D3EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97d;
/* rgb */ color: rgb(204, 249, 125);
/* oklch */ color: oklch(92.5% 0.160 125.8);
Tailwind
colors: {
  custom: {
    50: '#defba5',
    500: '#ccf97d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97d;
$custom-light: #defba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97d",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 81.774,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9247,
    "c": 0.15961,
    "h": 125.8
  },
  "luminance": 0.82069
}

Semantic roles & 50–950 ramp

primary
#CCF97D
secondary
#7944D6
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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