#CDEC96#CDEC96

#CDEC96 is a very light, moderate yellow-green. Relative luminance 0.752; OKLCH L 90.1% C 0.115 H 124.8°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#CDEC96
RGBrgb(205, 236, 150)
HSLhsl(82, 69%, 76%)
HSVhsv(82, 36%, 93%)
CMYKcmyk(13.1%, 0%, 36.4%, 7.5%)
CIE-LABlab(89.47, -24.10, 38.42)
CIE-LCHlch(89.47, 45.35, 122.10°)
OKLaboklab(90.08% -0.0659 0.0948)
OKLCHoklch(90.08% 0.115 124.8)
XYZxyz(60.6768, 75.1717, 40.1612)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC96 #B596EC
analogous
#ECE096 #CDEC96 #A2EC96
triadic
#CDEC96 #96CDEC #EC96CD
tetradic
#CDEC96 #96ECE0 #B596EC #EC96A2
square
#CDEC96 #96ECE0 #B596EC #EC96A2
split-complementary
#CDEC96 #96A2EC #E096EC
monochromatic
#9CD92E #B4E362 #CDEC96 #E6F5CA #F3FAE5

Accessibility & contrast

On white

1.31
#CDEC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#CDEC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC96
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC96#FFFFFF#000000##000000
##CDEC961.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E290
Deuteranopia (green-blind)
#F1E19A
Tritanopia (blue-blind)
#D2E4D6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cdec96;
/* rgb */ color: rgb(205, 236, 150);
/* oklch */ color: oklch(90.1% 0.115 124.8);
Tailwind
colors: {
  custom: {
    50: '#ddf2b6',
    500: '#cdec96',
    950: '#000000',
  },
}
SCSS
$custom: #cdec96;
$custom-light: #ddf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec96",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 150
  },
  "hsl": {
    "h": 81.628,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90078,
    "c": 0.11543,
    "h": 124.8
  },
  "luminance": 0.75172
}

Semantic roles & 50–950 ramp

primary
#CDEC96
secondary
#845FC7
accent
#14D158
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CDEC96

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

Preview Lab → · Contrast checker → · Palette generator →

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