#CCF587#CCF587

#CCF587 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.7% C 0.144 H 125.9°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#CCF587
RGBrgb(204, 245, 135)
HSLhsl(82, 85%, 75%)
HSVhsv(82, 45%, 96%)
CMYKcmyk(16.7%, 0%, 44.9%, 3.9%)
CIE-LABlab(91.64, -30.49, 48.48)
CIE-LCHlch(91.64, 57.27, 122.16°)
OKLaboklab(91.73% -0.0846 0.117)
OKLCHoklch(91.73% 0.144 125.9)
XYZxyz(61.9271, 79.8909, 35.0749)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF587 #B087F5
analogous
#F5E787 #CCF587 #95F587
triadic
#CCF587 #87CCF5 #F587CC
tetradic
#CCF587 #87F5E7 #B087F5 #F58795
square
#CCF587 #87F5E7 #B087F5 #F58795
split-complementary
#CCF587 #8795F5 #E787F5
monochromatic
#9CEC16 #B4F04F #CCF587 #E4FABF #F3FDE3

Accessibility & contrast

On white

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

On black

16.98
#CCF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF587
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF587#FFFFFF#000000##000000
##CCF5871.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FAE68D
Tritanopia (blue-blind)
#D2ECDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf587;
/* rgb */ color: rgb(204, 245, 135);
/* oklch */ color: oklch(91.7% 0.144 125.9);
Tailwind
colors: {
  custom: {
    50: '#ddf8ac',
    500: '#ccf587',
    950: '#000000',
  },
}
SCSS
$custom: #ccf587;
$custom-light: #ddf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf587",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 82.364,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.14442,
    "h": 125.9
  },
  "luminance": 0.79891
}

Semantic roles & 50–950 ramp

primary
#CCF587
secondary
#7F4ED2
accent
#04E157
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF587

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

Preview Lab → · Contrast checker → · Palette generator →

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