#D5E97A#D5E97A

#D5E97A is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.6% C 0.138 H 117.7°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#D5E97A
RGBrgb(213, 233, 122)
HSLhsl(71, 72%, 70%)
HSVhsv(71, 48%, 91%)
CMYKcmyk(8.6%, 0%, 47.6%, 8.6%)
CIE-LABlab(88.84, -22.77, 51.36)
CIE-LCHlch(88.84, 56.18, 113.91°)
OKLaboklab(89.59% -0.0643 0.1225)
OKLCHoklch(89.59% 0.138 117.7)
XYZxyz(60.0929, 73.8296, 29.4934)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E97A #8E7AE9
analogous
#E9C67A #D5E97A #9EE97A
triadic
#D5E97A #7AD5E9 #E97AD5
tetradic
#D5E97A #7AE9C6 #8E7AE9 #E97A9E
square
#D5E97A #7AE9C6 #8E7AE9 #E97A9E
split-complementary
#D5E97A #7A9EE9 #C67AE9
monochromatic
#AAC821 #C4E045 #D5E97A #E6F2AF #F6FAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5E97A#FFFFFF#000000##000000
##D5E97A1.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)
#F6DF70
Deuteranopia (green-blind)
#F4E080
Tritanopia (blue-blind)
#DFDFCF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d5e97a;
/* rgb */ color: rgb(213, 233, 122);
/* oklch */ color: oklch(89.6% 0.138 117.7);
Tailwind
colors: {
  custom: {
    50: '#e4f0a3',
    500: '#d5e97a',
    950: '#000000',
  },
}
SCSS
$custom: #d5e97a;
$custom-light: #e4f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e97a",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 70.811,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89589,
    "c": 0.13835,
    "h": 117.7
  },
  "luminance": 0.73829
}

Semantic roles & 50–950 ramp

primary
#D5E97A
secondary
#5C46C1
accent
#12D435
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D5E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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