#CDEB8C#CDEB8C

#CDEB8C is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.7% C 0.125 H 123.2°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#CDEB8C
RGBrgb(205, 235, 140)
HSLhsl(79, 70%, 74%)
HSVhsv(79, 40%, 92%)
CMYKcmyk(12.8%, 0%, 40.4%, 7.8%)
CIE-LABlab(89.06, -24.83, 42.83)
CIE-LCHlch(89.06, 49.51, 120.10°)
OKLaboklab(89.7% -0.0685 0.1045)
OKLCHoklch(89.7% 0.125 123.2)
XYZxyz(59.6186, 74.2891, 36.0042)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEB8C #AA8CEB
analogous
#EBD98C #CDEB8C #9DEB8C
triadic
#CDEB8C #8CCDEB #EB8CCD
tetradic
#CDEB8C #8CEBD9 #AA8CEB #EB8C9D
square
#CDEB8C #8CEBD9 #AA8CEB #EB8C9D
split-complementary
#CDEB8C #8C9DEB #D98CEB
monochromatic
#9FD725 #B6E258 #CDEB8C #E4F4C0 #F4FAE5

Accessibility & contrast

On white

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

On black

15.86
#CDEB8C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEB8C
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEB8C#FFFFFF#000000##000000
##CDEB8C1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E085
Deuteranopia (green-blind)
#F1E091
Tritanopia (blue-blind)
#D4E2D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cdeb8c;
/* rgb */ color: rgb(205, 235, 140);
/* oklch */ color: oklch(89.7% 0.125 123.2);
Tailwind
colors: {
  custom: {
    50: '#ddf1af',
    500: '#cdeb8c',
    950: '#000000',
  },
}
SCSS
$custom: #cdeb8c;
$custom-light: #ddf1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdeb8c",
  "rgb": {
    "r": 205,
    "g": 235,
    "b": 140
  },
  "hsl": {
    "h": 78.947,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89699,
    "c": 0.12496,
    "h": 123.2
  },
  "luminance": 0.74289
}

Semantic roles & 50–950 ramp

primary
#CDEB8C
secondary
#7956C5
accent
#13D250
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CDEB8C

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

Preview Lab → · Contrast checker → · Palette generator →

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