#CDEC5C#CDEC5C

#CDEC5C is a very light, vivid yellow-green. Relative luminance 0.737; OKLCH L 89.3% C 0.171 H 120.3°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#CDEC5C
RGBrgb(205, 236, 92)
HSLhsl(73, 79%, 64%)
HSVhsv(73, 61%, 93%)
CMYKcmyk(13.1%, 0%, 61%, 7.5%)
CIE-LABlab(88.80, -29.82, 64.50)
CIE-LCHlch(88.80, 71.06, 114.81°)
OKLaboklab(89.32% -0.0865 0.148)
OKLCHoklch(89.32% 0.171 120.3)
XYZxyz(57.1048, 73.7429, 21.3486)
Luminance0.7374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC5C #7B5CEC
analogous
#ECC35C #CDEC5C #85EC5C
triadic
#CDEC5C #5CCDEC #EC5CCD
tetradic
#CDEC5C #5CECC3 #7B5CEC #EC5C85
square
#CDEC5C #5CECC3 #7B5CEC #EC5C85
split-complementary
#CDEC5C #5C85EC #C35CEC
monochromatic
#95B815 #BCE625 #CDEC5C #DEF293 #EFF9CA

Accessibility & contrast

On white

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

On black

15.75
#CDEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC5C
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC5C#FFFFFF#000000##000000
##CDEC5C1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4B
Deuteranopia (green-blind)
#F6DF66
Tritanopia (blue-blind)
#D7E0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec5c;
/* rgb */ color: rgb(205, 236, 92);
/* oklch */ color: oklch(89.3% 0.171 120.3);
Tailwind
colors: {
  custom: {
    50: '#dff290',
    500: '#cdec5c',
    950: '#000000',
  },
}
SCSS
$custom: #cdec5c;
$custom-light: #dff290;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec5c",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 72.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8932,
    "c": 0.17139,
    "h": 120.3
  },
  "luminance": 0.73743
}

Semantic roles & 50–950 ramp

primary
#CDEC5C
secondary
#5135B8
accent
#0ADB37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CDEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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