#D2EB97#D2EB97

#D2EB97 is a very light, moderate yellow-green. Relative luminance 0.754; OKLCH L 90.2% C 0.111 H 122.1°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#D2EB97
RGBrgb(210, 235, 151)
HSLhsl(78, 68%, 76%)
HSVhsv(78, 36%, 92%)
CMYKcmyk(10.6%, 0%, 35.7%, 7.8%)
CIE-LABlab(89.56, -21.66, 38.09)
CIE-LCHlch(89.56, 43.82, 119.62°)
OKLaboklab(90.24% -0.0591 0.0941)
OKLCHoklch(90.24% 0.111 122.1)
XYZxyz(61.8723, 75.3526, 40.5571)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EB97 #B097EB
analogous
#EBDA97 #D2EB97 #A8EB97
triadic
#D2EB97 #97D2EB #EB97D2
tetradic
#D2EB97 #97EBDA #B097EB #EB97A8
square
#D2EB97 #97EBDA #B097EB #EB97A8
split-complementary
#D2EB97 #97A8EB #DA97EB
monochromatic
#A6D730 #BCE164 #D2EB97 #E8F5CA #F4FAE5

Accessibility & contrast

On white

1.31
#D2EB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#D2EB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EB97
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EB97#FFFFFF#000000##000000
##D2EB971.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#D8E3D6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2eb97;
/* rgb */ color: rgb(210, 235, 151);
/* oklch */ color: oklch(90.2% 0.111 122.1);
Tailwind
colors: {
  custom: {
    50: '#e1f1b6',
    500: '#d2eb97',
    950: '#000000',
  },
}
SCSS
$custom: #d2eb97;
$custom-light: #e1f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2eb97",
  "rgb": {
    "r": 210,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 77.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90236,
    "c": 0.11107,
    "h": 122.1
  },
  "luminance": 0.75353
}

Semantic roles & 50–950 ramp

primary
#D2EB97
secondary
#7E60C6
accent
#16D04D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D2EB97

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

Preview Lab → · Contrast checker → · Palette generator →

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