#CDEC4F#CDEC4F

#CDEC4F is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.2% C 0.181 H 119.9°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#CDEC4F
RGBrgb(205, 236, 79)
HSLhsl(72, 81%, 62%)
HSVhsv(72, 67%, 93%)
CMYKcmyk(13.1%, 0%, 66.5%, 7.5%)
CIE-LABlab(88.70, -30.68, 69.53)
CIE-LCHlch(88.70, 76.00, 113.81°)
OKLaboklab(89.21% -0.09 0.1568)
OKLCHoklch(89.21% 0.181 119.9)
XYZxyz(56.5845, 73.5348, 18.6083)
Luminance0.7353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC4F #6E4FEC
analogous
#ECBD4F #CDEC4F #7FEC4F
triadic
#CDEC4F #4FCDEC #EC4FCD
tetradic
#CDEC4F #4FECBD #6E4FEC #EC4F7F
square
#CDEC4F #4FECBD #6E4FEC #EC4F7F
split-complementary
#CDEC4F #4F7FEC #BD4FEC
monochromatic
#8FAE13 #BDE519 #CDEC4F #DDF286 #ECF8BD

Accessibility & contrast

On white

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

On black

15.71
#CDEC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC4F
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC4F#FFFFFF#000000##000000
##CDEC4F1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF38
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#D8E0CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec4f;
/* rgb */ color: rgb(205, 236, 79);
/* oklch */ color: oklch(89.2% 0.181 119.9);
Tailwind
colors: {
  custom: {
    50: '#e0f288',
    500: '#cdec4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdec4f;
$custom-light: #e0f288;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec4f",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 71.847,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89209,
    "c": 0.18085,
    "h": 119.9
  },
  "luminance": 0.73535
}

Semantic roles & 50–950 ramp

primary
#CDEC4F
secondary
#4A31AE
accent
#09DD33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CDEC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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