#D2DE97#D2DE97

#D2DE97 is a very light, moderate yellow-green. Relative luminance 0.682; OKLCH L 87.5% C 0.093 H 116.2°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#D2DE97
RGBrgb(210, 222, 151)
HSLhsl(70, 52%, 73%)
HSVhsv(70, 32%, 87%)
CMYKcmyk(5.4%, 0%, 32%, 12.9%)
CIE-LABlab(86.10, -15.28, 33.55)
CIE-LCHlch(86.10, 36.87, 114.48°)
OKLaboklab(87.47% -0.041 0.0835)
OKLCHoklch(87.47% 0.093 116.2)
XYZxyz(58.2855, 68.1790, 39.3615)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DE97 #A397DE
analogous
#DEC697 #D2DE97 #AEDE97
triadic
#D2DE97 #97D2DE #DE97D2
tetradic
#D2DE97 #97DEC6 #A397DE #DE97AE
square
#D2DE97 #97DEC6 #A397DE #DE97AE
split-complementary
#D2DE97 #97AEDE #C697DE
monochromatic
#A8BE3C #BECF69 #D2DE97 #E6EDC5 #F5F8E8

Accessibility & contrast

On white

1.43
#D2DE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#D2DE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DE97
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DE97#FFFFFF#000000##000000
##D2DE971.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#E6D89A
Tritanopia (blue-blind)
#DAD6CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2de97;
/* rgb */ color: rgb(210, 222, 151);
/* oklch */ color: oklch(87.5% 0.093 116.2);
Tailwind
colors: {
  custom: {
    50: '#e0e8b6',
    500: '#d2de97',
    950: '#000000',
  },
}
SCSS
$custom: #d2de97;
$custom-light: #e0e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2de97",
  "rgb": {
    "r": 210,
    "g": 222,
    "b": 151
  },
  "hsl": {
    "h": 70.141,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87474,
    "c": 0.09298,
    "h": 116.2
  },
  "luminance": 0.68179
}

Semantic roles & 50–950 ramp

primary
#D2DE97
secondary
#7163B6
accent
#26BF40
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D2DE97

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

Preview Lab → · Contrast checker → · Palette generator →

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