#D5E397#D5E397

#D5E397 is a very light, moderate yellow-green. Relative luminance 0.713; OKLCH L 88.8% C 0.099 H 117.0°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#D5E397
RGBrgb(213, 227, 151)
HSLhsl(71, 58%, 74%)
HSVhsv(71, 33%, 89%)
CMYKcmyk(6.2%, 0%, 33.5%, 11%)
CIE-LABlab(87.64, -16.63, 35.63)
CIE-LCHlch(87.64, 39.32, 115.02°)
OKLaboklab(88.76% -0.0449 0.0883)
OKLCHoklch(88.76% 0.099 117)
XYZxyz(60.4956, 71.3191, 39.8512)
Luminance0.7132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E397 #A597E3
analogous
#E3CB97 #D5E397 #AFE397
triadic
#D5E397 #97D5E3 #E397D5
tetradic
#D5E397 #97E3CB #A597E3 #E397AF
square
#D5E397 #97E3CB #A597E3 #E397AF
split-complementary
#D5E397 #97AFE3 #CB97E3
monochromatic
#AEC937 #C2D667 #D5E397 #E8F0C7 #F5F9E7

Accessibility & contrast

On white

1.38
#D5E397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#D5E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E397
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E397#FFFFFF#000000##000000
##D5E3971.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB92
Deuteranopia (green-blind)
#ECDC9A
Tritanopia (blue-blind)
#DDDBD0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d5e397;
/* rgb */ color: rgb(213, 227, 151);
/* oklch */ color: oklch(88.8% 0.099 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ebb6',
    500: '#d5e397',
    950: '#000000',
  },
}
SCSS
$custom: #d5e397;
$custom-light: #e3ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e397",
  "rgb": {
    "r": 213,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 71.053,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88758,
    "c": 0.09907,
    "h": 117
  },
  "luminance": 0.71319
}

Semantic roles & 50–950 ramp

primary
#D5E397
secondary
#7362BC
accent
#20C53F
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D5E397

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

Preview Lab → · Contrast checker → · Palette generator →

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