#D7EA97#D7EA97

#D7EA97 is a very light, moderate yellow-green. Relative luminance 0.755; OKLCH L 90.4% C 0.108 H 119.1°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#D7EA97
RGBrgb(215, 234, 151)
HSLhsl(74, 66%, 75%)
HSVhsv(74, 35%, 92%)
CMYKcmyk(8.1%, 0%, 35.5%, 8.2%)
CIE-LABlab(89.64, -19.32, 38.27)
CIE-LCHlch(89.64, 42.87, 116.78°)
OKLaboklab(90.39% -0.0526 0.0944)
OKLCHoklch(90.39% 0.108 119.1)
XYZxyz(63.0330, 75.5273, 40.5297)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EA97 #AA97EA
analogous
#EAD397 #D7EA97 #ADEA97
triadic
#D7EA97 #97D7EA #EA97D7
tetradic
#D7EA97 #97EAD3 #AA97EA #EA97AD
square
#D7EA97 #97EAD3 #AA97EA #EA97AD
split-complementary
#D7EA97 #97ADEA #D397EA
monochromatic
#B0D531 #C3E064 #D7EA97 #EBF4CA #F5FAE6

Accessibility & contrast

On white

1.30
#D7EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#D7EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EA97
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EA97#FFFFFF#000000##000000
##D7EA971.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#DFE2D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ea97;
/* rgb */ color: rgb(215, 234, 151);
/* oklch */ color: oklch(90.4% 0.108 119.1);
Tailwind
colors: {
  custom: {
    50: '#e4f0b6',
    500: '#d7ea97',
    950: '#000000',
  },
}
SCSS
$custom: #d7ea97;
$custom-light: #e4f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ea97",
  "rgb": {
    "r": 215,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 73.735,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90388,
    "c": 0.10809,
    "h": 119.1
  },
  "luminance": 0.75527
}

Semantic roles & 50–950 ramp

primary
#D7EA97
secondary
#7760C5
accent
#17CE41
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #D7EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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