#CDF987#CDF987

#CDF987 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.149 H 126.5°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#CDF987
RGBrgb(205, 249, 135)
HSLhsl(83, 90%, 75%)
HSVhsv(83, 46%, 98%)
CMYKcmyk(17.7%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.79, -31.98, 49.91)
CIE-LCHlch(92.79, 59.28, 122.64°)
OKLaboklab(92.67% -0.0888 0.1202)
OKLCHoklch(92.67% 0.149 126.5)
XYZxyz(63.4254, 82.4791, 35.4955)
Luminance0.8248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF987 #B387F9
analogous
#F9EC87 #CDF987 #94F987
triadic
#CDF987 #87CDF9 #F987CD
tetradic
#CDF987 #87F9EC #B387F9 #F98794
square
#CDF987 #87F9EC #B387F9 #F98794
split-complementary
#CDF987 #8794F9 #EC87F9
monochromatic
#9CF312 #B5F64D #CDF987 #E5FCC1 #F3FEE2

Accessibility & contrast

On white

1.20
#CDF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#CDF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF987
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF987#FFFFFF#000000##000000
##CDF9871.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FDEA8D
Tritanopia (blue-blind)
#D3F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf987;
/* rgb */ color: rgb(205, 249, 135);
/* oklch */ color: oklch(92.7% 0.149 126.5);
Tailwind
colors: {
  custom: {
    50: '#defbac',
    500: '#cdf987',
    950: '#000000',
  },
}
SCSS
$custom: #cdf987;
$custom-light: #defbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf987",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 83.158,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.9267,
    "c": 0.14949,
    "h": 126.5
  },
  "luminance": 0.8248
}

Semantic roles & 50–950 ramp

primary
#CDF987
secondary
#824DD7
accent
#00E659
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF987

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

Preview Lab → · Contrast checker → · Palette generator →

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