#CDF587#CDF587

#CDF587 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.8% C 0.144 H 125.5°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#CDF587
RGBrgb(205, 245, 135)
HSLhsl(82, 85%, 75%)
HSVhsv(82, 45%, 96%)
CMYKcmyk(16.3%, 0%, 44.9%, 3.9%)
CIE-LABlab(91.70, -30.12, 48.57)
CIE-LCHlch(91.70, 57.15, 121.80°)
OKLaboklab(91.8% -0.0836 0.1172)
OKLCHoklch(91.8% 0.144 125.5)
XYZxyz(62.2022, 80.0327, 35.0878)
Luminance0.8003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF587 #AF87F5
analogous
#F5E687 #CDF587 #96F587
triadic
#CDF587 #87CDF5 #F587CD
tetradic
#CDF587 #87F5E6 #AF87F5 #F58796
square
#CDF587 #87F5E6 #AF87F5 #F58796
split-complementary
#CDF587 #8796F5 #E687F5
monochromatic
#9EEC16 #B5F04F #CDF587 #E5FABF #F3FDE3

Accessibility & contrast

On white

1.23
#CDF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#CDF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF587
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF587#FFFFFF#000000##000000
##CDF5871.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf587;
/* rgb */ color: rgb(205, 245, 135);
/* oklch */ color: oklch(91.8% 0.144 125.5);
Tailwind
colors: {
  custom: {
    50: '#def8ac',
    500: '#cdf587',
    950: '#000000',
  },
}
SCSS
$custom: #cdf587;
$custom-light: #def8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf587",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 81.818,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91796,
    "c": 0.14401,
    "h": 125.5
  },
  "luminance": 0.80033
}

Semantic roles & 50–950 ramp

primary
#CDF587
secondary
#7E4ED2
accent
#04E155
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF587

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

Preview Lab → · Contrast checker → · Palette generator →

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