#CCFB87#CCFB87

#CCFB87 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.0% C 0.153 H 127.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#CCFB87
RGBrgb(204, 251, 135)
HSLhsl(84, 94%, 76%)
HSVhsv(84, 46%, 98%)
CMYKcmyk(18.7%, 0%, 46.2%, 1.6%)
CIE-LABlab(93.27, -33.26, 50.49)
CIE-LCHlch(93.27, 60.46, 123.37°)
OKLaboklab(93.04% -0.0924 0.1215)
OKLCHoklch(93.04% 0.153 127.2)
XYZxyz(63.7718, 83.5802, 35.6898)
Luminance0.8358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFB87 #B687FB
analogous
#FBF087 #CCFB87 #92FB87
triadic
#CCFB87 #87CCFB #FB87CC
tetradic
#CCFB87 #87FBF0 #B687FB #FB8792
square
#CCFB87 #87FBF0 #B687FB #FB8792
split-complementary
#CCFB87 #8792FB #F087FB
monochromatic
#9AF711 #B3F94C #CCFB87 #E5FDC2 #F2FEE1

Accessibility & contrast

On white

1.19
#CCFB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#CCFB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFB87
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFB87#FFFFFF#000000##000000
##CCFB871.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFEB8E
Tritanopia (blue-blind)
#D1F2E0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ccfb87;
/* rgb */ color: rgb(204, 251, 135);
/* oklch */ color: oklch(93.0% 0.153 127.2);
Tailwind
colors: {
  custom: {
    50: '#ddfcac',
    500: '#ccfb87',
    950: '#000000',
  },
}
SCSS
$custom: #ccfb87;
$custom-light: #ddfcac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfb87",
  "rgb": {
    "r": 204,
    "g": 251,
    "b": 135
  },
  "hsl": {
    "h": 84.31,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93042,
    "c": 0.15266,
    "h": 127.2
  },
  "luminance": 0.83581
}

Semantic roles & 50–950 ramp

primary
#CCFB87
secondary
#864CDA
accent
#00E65D
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCFB87

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

Preview Lab → · Contrast checker → · Palette generator →

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