#CDEC87#CDEC87

#CDEC87 is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.8% C 0.132 H 123.0°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#CDEC87
RGBrgb(205, 236, 135)
HSLhsl(78, 73%, 73%)
HSVhsv(78, 43%, 93%)
CMYKcmyk(13.1%, 0%, 42.8%, 7.5%)
CIE-LABlab(89.26, -25.88, 45.53)
CIE-LCHlch(89.26, 52.37, 119.61°)
OKLaboklab(89.84% -0.0717 0.1104)
OKLCHoklch(89.84% 0.132 123)
XYZxyz(59.5454, 74.7191, 34.2022)
Luminance0.7472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC87 #A687EC
analogous
#ECD987 #CDEC87 #9AEC87
triadic
#CDEC87 #87CDEC #EC87CD
tetradic
#CDEC87 #87ECD9 #A687EC #EC879A
square
#CDEC87 #87ECD9 #A687EC #EC879A
split-complementary
#CDEC87 #879AEC #D987EC
monochromatic
#9FD722 #B7E452 #CDEC87 #E3F4BC #F4FBE5

Accessibility & contrast

On white

1.32
#CDEC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#CDEC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC87
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC87#FFFFFF#000000##000000
##CDEC871.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17F
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#D4E3D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdec87;
/* rgb */ color: rgb(205, 236, 135);
/* oklch */ color: oklch(89.8% 0.132 123.0);
Tailwind
colors: {
  custom: {
    50: '#def2ab',
    500: '#cdec87',
    950: '#000000',
  },
}
SCSS
$custom: #cdec87;
$custom-light: #def2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec87",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 135
  },
  "hsl": {
    "h": 78.416,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89839,
    "c": 0.13166,
    "h": 123
  },
  "luminance": 0.74719
}

Semantic roles & 50–950 ramp

primary
#CDEC87
secondary
#7551C6
accent
#11D54D
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CDEC87

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

Preview Lab → · Contrast checker → · Palette generator →

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