#D7E397#D7E397

#D7E397 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 88.9% C 0.099 H 115.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#D7E397
RGBrgb(215, 227, 151)
HSLhsl(69, 58%, 74%)
HSVhsv(69, 33%, 89%)
CMYKcmyk(5.3%, 0%, 33.5%, 11%)
CIE-LABlab(87.79, -15.88, 35.85)
CIE-LCHlch(87.79, 39.20, 113.89°)
OKLaboklab(88.91% -0.0428 0.0888)
OKLCHoklch(88.91% 0.099 115.8)
XYZxyz(61.0794, 71.6201, 39.8785)
Luminance0.7162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E397 #A397E3
analogous
#E3C997 #D7E397 #B1E397
triadic
#D7E397 #97D7E3 #E397D7
tetradic
#D7E397 #97E3C9 #A397E3 #E397B1
square
#D7E397 #97E3C9 #A397E3 #E397B1
split-complementary
#D7E397 #97B1E3 #C997E3
monochromatic
#B2C937 #C4D667 #D7E397 #EAF0C7 #F6F9E7

Accessibility & contrast

On white

1.37
#D7E397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#D7E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E397
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E397#FFFFFF#000000##000000
##D7E3971.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDC92
Deuteranopia (green-blind)
#ECDD9A
Tritanopia (blue-blind)
#DFDBD0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e397;
/* rgb */ color: rgb(215, 227, 151);
/* oklch */ color: oklch(88.9% 0.099 115.8);
Tailwind
colors: {
  custom: {
    50: '#e4ebb6',
    500: '#d7e397',
    950: '#000000',
  },
}
SCSS
$custom: #d7e397;
$custom-light: #e4ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e397",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 69.474,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.8891,
    "c": 0.09859,
    "h": 115.8
  },
  "luminance": 0.7162
}

Semantic roles & 50–950 ramp

primary
#D7E397
secondary
#7062BC
accent
#20C53A
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #D7E397

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

Preview Lab → · Contrast checker → · Palette generator →

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