#CDEC7F#CDEC7F

#CDEC7F is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.140 H 122.3°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#CDEC7F
RGBrgb(205, 236, 127)
HSLhsl(77, 74%, 71%)
HSVhsv(77, 46%, 93%)
CMYKcmyk(13.1%, 0%, 46.2%, 7.5%)
CIE-LABlab(89.16, -26.74, 49.25)
CIE-LCHlch(89.16, 56.04, 118.50°)
OKLaboklab(89.72% -0.0747 0.1183)
OKLCHoklch(89.72% 0.14 122.3)
XYZxyz(59.0032, 74.5023, 31.3465)
Luminance0.7450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC7F #9E7FEC
analogous
#ECD47F #CDEC7F #96EC7F
triadic
#CDEC7F #7FCDEC #EC7FCD
tetradic
#CDEC7F #7FECD4 #9E7FEC #EC7F96
square
#CDEC7F #7FECD4 #9E7FEC #EC7F96
split-complementary
#CDEC7F #7F96EC #D47FEC
monochromatic
#9FD21F #B8E44A #CDEC7F #E2F4B4 #F5FBE4

Accessibility & contrast

On white

1.32
#CDEC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#CDEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC7F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC7F#FFFFFF#000000##000000
##CDEC7F1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E176
Deuteranopia (green-blind)
#F3E085
Tritanopia (blue-blind)
#D5E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdec7f;
/* rgb */ color: rgb(205, 236, 127);
/* oklch */ color: oklch(89.7% 0.140 122.3);
Tailwind
colors: {
  custom: {
    50: '#def2a6',
    500: '#cdec7f',
    950: '#000000',
  },
}
SCSS
$custom: #cdec7f;
$custom-light: #def2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec7f",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 77.064,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89724,
    "c": 0.13988,
    "h": 122.3
  },
  "luminance": 0.74502
}

Semantic roles & 50–950 ramp

primary
#CDEC7F
secondary
#6D4AC6
accent
#0FD648
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CDEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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