#CCF57A#CCF57A

#CCF57A is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.6% C 0.157 H 124.7°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#CCF57A
RGBrgb(204, 245, 122)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 50%, 96%)
CMYKcmyk(16.7%, 0%, 50.2%, 3.9%)
CIE-LABlab(91.48, -31.84, 54.39)
CIE-LCHlch(91.48, 63.02, 120.34°)
OKLaboklab(91.55% -0.0894 0.1292)
OKLCHoklch(91.55% 0.157 124.7)
XYZxyz(61.0671, 79.5469, 30.5455)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF57A #A37AF5
analogous
#F5E17A #CCF57A #8FF57A
triadic
#CCF57A #7ACCF5 #F57ACC
tetradic
#CCF57A #7AF5E1 #A37AF5 #F57A8F
square
#CCF57A #7AF5E1 #A37AF5 #F57A8F
split-complementary
#CCF57A #7A8FF5 #E17AF5
monochromatic
#9DE311 #B6F141 #CCF57A #E2F9B3 #F4FDE3

Accessibility & contrast

On white

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

On black

16.91
#CCF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF57A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF57A#FFFFFF#000000##000000
##CCF57A1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf57a;
/* rgb */ color: rgb(204, 245, 122);
/* oklch */ color: oklch(91.6% 0.157 124.7);
Tailwind
colors: {
  custom: {
    50: '#def8a3',
    500: '#ccf57a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf57a;
$custom-light: #def8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf57a",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 80,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91554,
    "c": 0.15713,
    "h": 124.7
  },
  "luminance": 0.79547
}

Semantic roles & 50–950 ramp

primary
#CCF57A
secondary
#7243D0
accent
#03E34D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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