#CCFF87#CCFF87

#CCFF87 is a very light, vivid yellow-green. Relative luminance 0.861; OKLCH L 93.9% C 0.158 H 128.1°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#CCFF87
RGBrgb(204, 255, 135)
HSLhsl(86, 100%, 76%)
HSVhsv(86, 47%, 100%)
CMYKcmyk(20%, 0%, 47.1%, 0%)
CIE-LABlab(94.36, -35.09, 51.83)
CIE-LCHlch(94.36, 62.59, 124.09°)
OKLaboklab(93.92% -0.0975 0.1245)
OKLCHoklch(93.92% 0.158 128.1)
XYZxyz(65.0345, 86.1057, 36.1107)
Luminance0.8611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF87 #BA87FF
analogous
#FFF687 #CCFF87 #90FF87
triadic
#CCFF87 #87CCFF #FF87CC
tetradic
#CCFF87 #87FFF6 #BA87FF #FF8790
square
#CCFF87 #87FFF6 #BA87FF #FF8790
split-complementary
#CCFF87 #8790FF #F687FF
monochromatic
#98FF0D #B2FF4A #CCFF87 #E6FFC4 #F2FFE0

Accessibility & contrast

On white

1.15
#CCFF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#CCFF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF87
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF87#FFFFFF#000000##000000
##CCFF871.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17D
Deuteranopia (green-blind)
#FFEE8E
Tritanopia (blue-blind)
#D1F6E3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ccff87;
/* rgb */ color: rgb(204, 255, 135);
/* oklch */ color: oklch(93.9% 0.158 128.1);
Tailwind
colors: {
  custom: {
    50: '#ddffac',
    500: '#ccff87',
    950: '#000000',
  },
}
SCSS
$custom: #ccff87;
$custom-light: #ddffac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff87",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 85.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9392,
    "c": 0.15814,
    "h": 128.1
  },
  "luminance": 0.86107
}

Semantic roles & 50–950 ramp

primary
#CCFF87
secondary
#8A4BDF
accent
#00E662
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151810
muted
#848681

Preview Lab

Preview with #CCFF87

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

Preview Lab → · Contrast checker → · Palette generator →

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