#CDEC6C#CDEC6C

#CDEC6C is a very light, vivid yellow-green. Relative luminance 0.741; OKLCH L 89.5% C 0.158 H 121.0°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#CDEC6C
RGBrgb(205, 236, 108)
HSLhsl(75, 77%, 67%)
HSVhsv(75, 54%, 93%)
CMYKcmyk(13.1%, 0%, 54.2%, 7.5%)
CIE-LABlab(88.95, -28.55, 57.78)
CIE-LCHlch(88.95, 64.45, 116.30°)
OKLaboklab(89.49% -0.0814 0.1354)
OKLCHoklch(89.49% 0.158 121)
XYZxyz(57.8796, 74.0528, 25.4289)
Luminance0.7405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC6C #8B6CEC
analogous
#ECCB6C #CDEC6C #8DEC6C
triadic
#CDEC6C #6CCDEC #EC6CCD
tetradic
#CDEC6C #6CECCB #8B6CEC #EC6C8D
square
#CDEC6C #6CECCB #8B6CEC #EC6C8D
split-complementary
#CDEC6C #6C8DEC #CB6CEC
monochromatic
#9BC419 #BBE536 #CDEC6C #DFF3A2 #F2FAD8

Accessibility & contrast

On white

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

On black

15.81
#CDEC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC6C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC6C#FFFFFF#000000##000000
##CDEC6C1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05F
Deuteranopia (green-blind)
#F5E074
Tritanopia (blue-blind)
#D6E1D0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec6c;
/* rgb */ color: rgb(205, 236, 108);
/* oklch */ color: oklch(89.5% 0.158 121.0);
Tailwind
colors: {
  custom: {
    50: '#def29a',
    500: '#cdec6c',
    950: '#000000',
  },
}
SCSS
$custom: #cdec6c;
$custom-light: #def29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec6c",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 74.531,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89485,
    "c": 0.15799,
    "h": 121
  },
  "luminance": 0.74053
}

Semantic roles & 50–950 ramp

primary
#CDEC6C
secondary
#5B3AC2
accent
#0CD93E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CDEC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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