#CDEC8D#CDEC8D

#CDEC8D is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.9% C 0.125 H 123.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#CDEC8D
RGBrgb(205, 236, 141)
HSLhsl(80, 71%, 74%)
HSVhsv(80, 40%, 93%)
CMYKcmyk(13.1%, 0%, 40.3%, 7.5%)
CIE-LABlab(89.34, -25.19, 42.70)
CIE-LCHlch(89.34, 49.58, 120.54°)
OKLaboklab(89.93% -0.0694 0.1043)
OKLCHoklch(89.93% 0.125 123.6)
XYZxyz(59.9798, 74.8929, 36.4900)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC8D #AC8DEC
analogous
#ECDC8D #CDEC8D #9EEC8D
triadic
#CDEC8D #8DCDEC #EC8DCD
tetradic
#CDEC8D #8DECDC #AC8DEC #EC8D9E
square
#CDEC8D #8DECDC #AC8DEC #EC8D9E
split-complementary
#CDEC8D #8D9EEC #DC8DEC
monochromatic
#9FDA24 #B6E359 #CDEC8D #E4F5C1 #F3FBE5

Accessibility & contrast

On white

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

On black

15.98
#CDEC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC8D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC8D#FFFFFF#000000##000000
##CDEC8D1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E186
Deuteranopia (green-blind)
#F2E092
Tritanopia (blue-blind)
#D3E4D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdec8d;
/* rgb */ color: rgb(205, 236, 141);
/* oklch */ color: oklch(89.9% 0.125 123.6);
Tailwind
colors: {
  custom: {
    50: '#ddf2af',
    500: '#cdec8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdec8d;
$custom-light: #ddf2af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec8d",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 141
  },
  "hsl": {
    "h": 79.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89931,
    "c": 0.12528,
    "h": 123.6
  },
  "luminance": 0.74893
}

Semantic roles & 50–950 ramp

primary
#CDEC8D
secondary
#7B56C7
accent
#12D351
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CDEC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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