#CDEC81#CDEC81

#CDEC81 is a very light, vivid yellow-green. Relative luminance 0.746; OKLCH L 89.8% C 0.138 H 122.5°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#CDEC81
RGBrgb(205, 236, 129)
HSLhsl(77, 74%, 72%)
HSVhsv(77, 45%, 93%)
CMYKcmyk(13.1%, 0%, 45.3%, 7.5%)
CIE-LABlab(89.18, -26.53, 48.32)
CIE-LCHlch(89.18, 55.13, 118.77°)
OKLaboklab(89.75% -0.074 0.1163)
OKLCHoklch(89.75% 0.138 122.5)
XYZxyz(59.1348, 74.5549, 32.0398)
Luminance0.7456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC81 #A081EC
analogous
#ECD681 #CDEC81 #98EC81
triadic
#CDEC81 #81CDEC #EC81CD
tetradic
#CDEC81 #81ECD6 #A081EC #EC8198
square
#CDEC81 #81ECD6 #A081EC #EC8198
split-complementary
#CDEC81 #8198EC #D681EC
monochromatic
#9FD320 #B8E44C #CDEC81 #E2F4B6 #F4FBE4

Accessibility & contrast

On white

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

On black

15.91
#CDEC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC81
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC81#FFFFFF#000000##000000
##CDEC811.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E178
Deuteranopia (green-blind)
#F3E087
Tritanopia (blue-blind)
#D5E3D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdec81;
/* rgb */ color: rgb(205, 236, 129);
/* oklch */ color: oklch(89.8% 0.138 122.5);
Tailwind
colors: {
  custom: {
    50: '#def2a7',
    500: '#cdec81',
    950: '#000000',
  },
}
SCSS
$custom: #cdec81;
$custom-light: #def2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec81",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 129
  },
  "hsl": {
    "h": 77.383,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89752,
    "c": 0.13786,
    "h": 122.5
  },
  "luminance": 0.74555
}

Semantic roles & 50–950 ramp

primary
#CDEC81
secondary
#6F4BC6
accent
#10D649
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151610
muted
#848580

Preview Lab

Preview with #CDEC81

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

Preview Lab → · Contrast checker → · Palette generator →

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