#CDEC5F#CDEC5F

#CDEC5F is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.3% C 0.169 H 120.4°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#CDEC5F
RGBrgb(205, 236, 95)
HSLhsl(73, 79%, 65%)
HSVhsv(73, 60%, 93%)
CMYKcmyk(13.1%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.83, -29.60, 63.28)
CIE-LCHlch(88.83, 69.86, 115.07°)
OKLaboklab(89.35% -0.0856 0.1458)
OKLCHoklch(89.35% 0.169 120.4)
XYZxyz(57.2386, 73.7964, 22.0530)
Luminance0.7380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC5F #7E5FEC
analogous
#ECC45F #CDEC5F #87EC5F
triadic
#CDEC5F #5FCDEC #EC5FCD
tetradic
#CDEC5F #5FECC4 #7E5FEC #EC5F87
square
#CDEC5F #5FECC4 #7E5FEC #EC5F87
split-complementary
#CDEC5F #5F87EC #C45FEC
monochromatic
#96BA16 #BCE628 #CDEC5F #DEF296 #EFF9CC

Accessibility & contrast

On white

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

On black

15.76
#CDEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC5F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC5F#FFFFFF#000000##000000
##CDEC5F1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4F
Deuteranopia (green-blind)
#F6DF68
Tritanopia (blue-blind)
#D7E1CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec5f;
/* rgb */ color: rgb(205, 236, 95);
/* oklch */ color: oklch(89.3% 0.169 120.4);
Tailwind
colors: {
  custom: {
    50: '#dff292',
    500: '#cdec5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdec5f;
$custom-light: #dff292;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec5f",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 73.191,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89349,
    "c": 0.16902,
    "h": 120.4
  },
  "luminance": 0.73796
}

Semantic roles & 50–950 ramp

primary
#CDEC5F
secondary
#5336BA
accent
#0ADB38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CDEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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