#CDEC71#CDEC71

#CDEC71 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.5% C 0.153 H 121.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#CDEC71
RGBrgb(205, 236, 113)
HSLhsl(75, 76%, 68%)
HSVhsv(75, 52%, 93%)
CMYKcmyk(13.1%, 0%, 52.1%, 7.5%)
CIE-LABlab(89.00, -28.11, 55.58)
CIE-LCHlch(89.00, 62.29, 116.83°)
OKLaboklab(89.54% -0.0797 0.1311)
OKLCHoklch(89.54% 0.153 121.3)
XYZxyz(58.1533, 74.1623, 26.8707)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC71 #9071EC
analogous
#ECCD71 #CDEC71 #8FEC71
triadic
#CDEC71 #71CDEC #EC71CD
tetradic
#CDEC71 #71ECCD #9071EC #EC718F
square
#CDEC71 #71ECCD #9071EC #EC718F
split-complementary
#CDEC71 #718FEC #CD71EC
monochromatic
#9CC81B #BAE53B #CDEC71 #E0F3A7 #F3FADD

Accessibility & contrast

On white

1.33
#CDEC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#CDEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC71
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC71#FFFFFF#000000##000000
##CDEC711.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E065
Deuteranopia (green-blind)
#F4E078
Tritanopia (blue-blind)
#D6E2D0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec71;
/* rgb */ color: rgb(205, 236, 113);
/* oklch */ color: oklch(89.5% 0.153 121.3);
Tailwind
colors: {
  custom: {
    50: '#def29d',
    500: '#cdec71',
    950: '#000000',
  },
}
SCSS
$custom: #cdec71;
$custom-light: #def29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec71",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 75.122,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89543,
    "c": 0.15344,
    "h": 121.3
  },
  "luminance": 0.74162
}

Semantic roles & 50–950 ramp

primary
#CDEC71
secondary
#5F3DC4
accent
#0DD940
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CDEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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