#CDE987#CDE987

#CDE987 is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.2% C 0.128 H 122.1°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#CDE987
RGBrgb(205, 233, 135)
HSLhsl(77, 69%, 72%)
HSVhsv(77, 42%, 91%)
CMYKcmyk(12%, 0%, 42.1%, 8.6%)
CIE-LABlab(88.45, -24.45, 44.51)
CIE-LCHlch(88.45, 50.78, 118.78°)
OKLaboklab(89.19% -0.0677 0.1081)
OKLCHoklch(89.19% 0.128 122.1)
XYZxyz(58.6889, 73.0062, 33.9167)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE987 #A387E9
analogous
#E9D487 #CDE987 #9CE987
triadic
#CDE987 #87CDE9 #E987CD
tetradic
#CDE987 #87E9D4 #A387E9 #E9879C
square
#CDE987 #87E9D4 #A387E9 #E9879C
split-complementary
#CDE987 #879CE9 #D487E9
monochromatic
#9FD026 #B7E053 #CDE987 #E3F2BB #F4FAE5

Accessibility & contrast

On white

1.35
#CDE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#CDE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE987
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE987#FFFFFF#000000##000000
##CDE9871.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F0DE8C
Tritanopia (blue-blind)
#D4E0D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cde987;
/* rgb */ color: rgb(205, 233, 135);
/* oklch */ color: oklch(89.2% 0.128 122.1);
Tailwind
colors: {
  custom: {
    50: '#ddf0ab',
    500: '#cde987',
    950: '#000000',
  },
}
SCSS
$custom: #cde987;
$custom-light: #ddf0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cde987",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 77.143,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89189,
    "c": 0.12754,
    "h": 122.1
  },
  "luminance": 0.73006
}

Semantic roles & 50–950 ramp

primary
#CDE987
secondary
#7252C3
accent
#15D14A
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CDE987

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

Preview Lab → · Contrast checker → · Palette generator →

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