#CCF87A#CCF87A

#CCF87A is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.2% C 0.161 H 125.4°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#CCF87A
RGBrgb(204, 248, 122)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 51%, 97%)
CMYKcmyk(17.7%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.30, -33.22, 55.36)
CIE-LCHlch(92.30, 64.56, 120.96°)
OKLaboklab(92.21% -0.0932 0.1314)
OKLCHoklch(92.21% 0.161 125.4)
XYZxyz(61.9820, 81.3767, 30.8504)
Luminance0.8138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF87A #A67AF8
analogous
#F8E57A #CCF87A #8DF87A
triadic
#CCF87A #7ACCF8 #F87ACC
tetradic
#CCF87A #7AF8E5 #A67AF8 #F87A8D
square
#CCF87A #7AF8E5 #A67AF8 #F87A8D
split-complementary
#CCF87A #7A8DF8 #E57AF8
monochromatic
#9DEB0C #B6F540 #CCF87A #E2FBB4 #F4FDE2

Accessibility & contrast

On white

1.22
#CCF87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#CCF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF87A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF87A#FFFFFF#000000##000000
##CCF87A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#D3EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf87a;
/* rgb */ color: rgb(204, 248, 122);
/* oklch */ color: oklch(92.2% 0.161 125.4);
Tailwind
colors: {
  custom: {
    50: '#defaa3',
    500: '#ccf87a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf87a;
$custom-light: #defaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf87a",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 80.952,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.16109,
    "h": 125.4
  },
  "luminance": 0.81377
}

Semantic roles & 50–950 ramp

primary
#CCF87A
secondary
#7542D4
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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