#CDEC7D#CDEC7D

#CDEC7D is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.142 H 122.1°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#CDEC7D
RGBrgb(205, 236, 125)
HSLhsl(77, 74%, 71%)
HSVhsv(77, 47%, 93%)
CMYKcmyk(13.1%, 0%, 47%, 7.5%)
CIE-LABlab(89.14, -26.95, 50.17)
CIE-LCHlch(89.14, 56.95, 118.24°)
OKLaboklab(89.7% -0.0755 0.1202)
OKLCHoklch(89.7% 0.142 122.1)
XYZxyz(58.8741, 74.4506, 30.6669)
Luminance0.7445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC7D #9C7DEC
analogous
#ECD47D #CDEC7D #95EC7D
triadic
#CDEC7D #7DCDEC #EC7DCD
tetradic
#CDEC7D #7DECD4 #9C7DEC #EC7D95
square
#CDEC7D #7DECD4 #9C7DEC #EC7D95
split-complementary
#CDEC7D #7D95EC #D47DEC
monochromatic
#9FD01E #B8E448 #CDEC7D #E2F4B2 #F5FBE4

Accessibility & contrast

On white

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

On black

15.89
#CDEC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC7D
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC7D#FFFFFF#000000##000000
##CDEC7D1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E173
Deuteranopia (green-blind)
#F3E083
Tritanopia (blue-blind)
#D5E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdec7d;
/* rgb */ color: rgb(205, 236, 125);
/* oklch */ color: oklch(89.7% 0.142 122.1);
Tailwind
colors: {
  custom: {
    50: '#def2a5',
    500: '#cdec7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdec7d;
$custom-light: #def2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec7d",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 125
  },
  "hsl": {
    "h": 76.757,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89697,
    "c": 0.14189,
    "h": 122.1
  },
  "luminance": 0.74451
}

Semantic roles & 50–950 ramp

primary
#CDEC7D
secondary
#6B48C5
accent
#0FD747
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CDEC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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