#CDEB7C#CDEB7C

#CDEB7C is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.5% C 0.142 H 121.8°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#CDEB7C
RGBrgb(205, 235, 124)
HSLhsl(76, 74%, 70%)
HSVhsv(76, 47%, 92%)
CMYKcmyk(12.8%, 0%, 47.2%, 7.8%)
CIE-LABlab(88.85, -26.58, 50.30)
CIE-LCHlch(88.85, 56.89, 117.85°)
OKLaboklab(89.47% -0.0745 0.1204)
OKLCHoklch(89.47% 0.142 121.8)
XYZxyz(58.5235, 73.8510, 30.2364)
Luminance0.7385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEB7C #9A7CEB
analogous
#EBD17C #CDEB7C #95EB7C
triadic
#CDEB7C #7CCDEB #EB7CCD
tetradic
#CDEB7C #7CEBD1 #9A7CEB #EB7C95
square
#CDEB7C #7CEBD1 #9A7CEB #EB7C95
split-complementary
#CDEB7C #7C95EB #D17CEB
monochromatic
#9ECD1F #B9E347 #CDEB7C #E1F3B1 #F5FBE4

Accessibility & contrast

On white

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

On black

15.77
#CDEB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEB7C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEB7C#FFFFFF#000000##000000
##CDEB7C1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E072
Deuteranopia (green-blind)
#F3DF82
Tritanopia (blue-blind)
#D5E1D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdeb7c;
/* rgb */ color: rgb(205, 235, 124);
/* oklch */ color: oklch(89.5% 0.142 121.8);
Tailwind
colors: {
  custom: {
    50: '#def1a4',
    500: '#cdeb7c',
    950: '#000000',
  },
}
SCSS
$custom: #cdeb7c;
$custom-light: #def1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdeb7c",
  "rgb": {
    "r": 205,
    "g": 235,
    "b": 124
  },
  "hsl": {
    "h": 76.216,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89466,
    "c": 0.14156,
    "h": 121.8
  },
  "luminance": 0.73851
}

Semantic roles & 50–950 ramp

primary
#CDEB7C
secondary
#6947C4
accent
#10D645
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CDEB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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