#D5E97D#D5E97D

#D5E97D is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.6% C 0.135 H 117.8°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#D5E97D
RGBrgb(213, 233, 125)
HSLhsl(71, 71%, 70%)
HSVhsv(71, 46%, 91%)
CMYKcmyk(8.6%, 0%, 46.4%, 8.6%)
CIE-LABlab(88.88, -22.47, 49.98)
CIE-LCHlch(88.88, 54.80, 114.21°)
OKLaboklab(89.63% -0.0632 0.1197)
OKLCHoklch(89.63% 0.135 117.8)
XYZxyz(60.2817, 73.9051, 30.4875)
Luminance0.7390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E97D #917DE9
analogous
#E9C77D #D5E97D #9FE97D
triadic
#D5E97D #7DD5E9 #E97DD5
tetradic
#D5E97D #7DE9C7 #917DE9 #E97D9F
square
#D5E97D #7DE9C7 #917DE9 #E97D9F
split-complementary
#D5E97D #7D9FE9 #C77DE9
monochromatic
#ABCA22 #C4E049 #D5E97D #E6F2B1 #F7FBE5

Accessibility & contrast

On white

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

On black

15.78
#D5E97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E97D
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E97D#FFFFFF#000000##000000
##D5E97D1.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF74
Deuteranopia (green-blind)
#F3E083
Tritanopia (blue-blind)
#DFDFD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d5e97d;
/* rgb */ color: rgb(213, 233, 125);
/* oklch */ color: oklch(89.6% 0.135 117.8);
Tailwind
colors: {
  custom: {
    50: '#e3f0a5',
    500: '#d5e97d',
    950: '#000000',
  },
}
SCSS
$custom: #d5e97d;
$custom-light: #e3f0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e97d",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 71.111,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89629,
    "c": 0.13533,
    "h": 117.8
  },
  "luminance": 0.73905
}

Semantic roles & 50–950 ramp

primary
#D5E97D
secondary
#5F48C2
accent
#12D336
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D5E97D

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

Preview Lab → · Contrast checker → · Palette generator →

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