#CCF97C#CCF97C

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

Color values

HEX#CCF97C
RGBrgb(204, 249, 124)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18.1%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.59, -33.48, 54.80)
CIE-LCHlch(92.59, 64.22, 121.42°)
OKLaboklab(92.46% -0.0938 0.1303)
OKLCHoklch(92.46% 0.161 125.8)
XYZxyz(62.4155, 82.0433, 31.6125)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97C #A97CF9
analogous
#F9E77C #CCF97C #8DF97C
triadic
#CCF97C #7CCCF9 #F97CCC
tetradic
#CCF97C #7CF9E7 #A97CF9 #F97C8D
square
#CCF97C #7CF9E7 #A97CF9 #F97C8D
split-complementary
#CCF97C #7C8DF9 #E77CF9
monochromatic
#9DF00B #B5F641 #CCF97C #E3FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF97C#FFFFFF#000000##000000
##CCF97C1.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)
#FFEB71
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D3EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97c;
/* rgb */ color: rgb(204, 249, 124);
/* oklch */ color: oklch(92.5% 0.161 125.8);
Tailwind
colors: {
  custom: {
    50: '#defba5',
    500: '#ccf97c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97c;
$custom-light: #defba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97c",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 81.6,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92458,
    "c": 0.16055,
    "h": 125.8
  },
  "luminance": 0.82044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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