#CCF57D#CCF57D

#CCF57D is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.6% C 0.154 H 124.9°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#CCF57D
RGBrgb(204, 245, 125)
HSLhsl(81, 86%, 73%)
HSVhsv(81, 49%, 96%)
CMYKcmyk(16.7%, 0%, 49%, 3.9%)
CIE-LABlab(91.52, -31.54, 53.04)
CIE-LCHlch(91.52, 61.71, 120.74°)
OKLaboklab(91.59% -0.0883 0.1265)
OKLCHoklch(91.59% 0.154 124.9)
XYZxyz(61.2559, 79.6224, 31.5396)
Luminance0.7962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF57D #A67DF5
analogous
#F5E27D #CCF57D #90F57D
triadic
#CCF57D #7DCCF5 #F57DCC
tetradic
#CCF57D #7DF5E2 #A67DF5 #F57D90
square
#CCF57D #7DF5E2 #A67DF5 #F57D90
split-complementary
#CCF57D #7D90F5 #E27DF5
monochromatic
#9DE612 #B6F144 #CCF57D #E2F9B6 #F4FDE3

Accessibility & contrast

On white

1.24
#CCF57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#CCF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF57D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF57D#FFFFFF#000000##000000
##CCF57D1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#FBE684
Tritanopia (blue-blind)
#D3EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf57d;
/* rgb */ color: rgb(204, 245, 125);
/* oklch */ color: oklch(91.6% 0.154 124.9);
Tailwind
colors: {
  custom: {
    50: '#ddf8a5',
    500: '#ccf57d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf57d;
$custom-light: #ddf8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf57d",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 80.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91593,
    "c": 0.15428,
    "h": 124.9
  },
  "luminance": 0.79623
}

Semantic roles & 50–950 ramp

primary
#CCF57D
secondary
#7546D1
accent
#03E24F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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