#CDEC56#CDEC56

#CDEC56 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.3% C 0.176 H 120.1°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#CDEC56
RGBrgb(205, 236, 86)
HSLhsl(72, 80%, 63%)
HSVhsv(72, 64%, 93%)
CMYKcmyk(13.1%, 0%, 63.6%, 7.5%)
CIE-LABlab(88.75, -30.24, 66.88)
CIE-LCHlch(88.75, 73.40, 114.33°)
OKLaboklab(89.27% -0.0882 0.1522)
OKLCHoklch(89.27% 0.176 120.1)
XYZxyz(56.8529, 73.6421, 20.0216)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC56 #7556EC
analogous
#ECC056 #CDEC56 #82EC56
triadic
#CDEC56 #56CDEC #EC56CD
tetradic
#CDEC56 #56ECC0 #7556EC #EC5682
square
#CDEC56 #56ECC0 #7556EC #EC5682
split-complementary
#CDEC56 #5682EC #C056EC
monochromatic
#93B314 #BDE61F #CDEC56 #DDF28D #EEF8C4

Accessibility & contrast

On white

1.34
#CDEC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#CDEC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC56
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC56#FFFFFF#000000##000000
##CDEC561.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF42
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#D8E0CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec56;
/* rgb */ color: rgb(205, 236, 86);
/* oklch */ color: oklch(89.3% 0.176 120.1);
Tailwind
colors: {
  custom: {
    50: '#dff28c',
    500: '#cdec56',
    950: '#000000',
  },
}
SCSS
$custom: #cdec56;
$custom-light: #dff28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec56",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 72.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89266,
    "c": 0.17592,
    "h": 120.1
  },
  "luminance": 0.73642
}

Semantic roles & 50–950 ramp

primary
#CDEC56
secondary
#4D33B3
accent
#09DC35
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CDEC56

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

Preview Lab → · Contrast checker → · Palette generator →

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