#D2DF97#D2DF97

#D2DF97 is a very light, moderate yellow-green. Relative luminance 0.687; OKLCH L 87.7% C 0.094 H 116.7°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#D2DF97
RGBrgb(210, 223, 151)
HSLhsl(71, 53%, 73%)
HSVhsv(71, 32%, 87%)
CMYKcmyk(5.8%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.36, -15.77, 33.90)
CIE-LCHlch(86.36, 37.39, 114.95°)
OKLaboklab(87.69% -0.0424 0.0843)
OKLCHoklch(87.69% 0.094 116.7)
XYZxyz(58.5519, 68.7118, 39.4503)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF97 #A497DF
analogous
#DFC897 #D2DF97 #AEDF97
triadic
#D2DF97 #97D2DF #DF97D2
tetradic
#D2DF97 #97DFC8 #A497DF #DF97AE
square
#D2DF97 #97DFC8 #A497DF #DF97AE
split-complementary
#D2DF97 #97AEDF #C897DF
monochromatic
#A8C03B #BED168 #D2DF97 #E6EDC6 #F5F8E8

Accessibility & contrast

On white

1.42
#D2DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#D2DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF97
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF97#FFFFFF#000000##000000
##D2DF971.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#E7D99A
Tritanopia (blue-blind)
#D9D7CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2df97;
/* rgb */ color: rgb(210, 223, 151);
/* oklch */ color: oklch(87.7% 0.094 116.7);
Tailwind
colors: {
  custom: {
    50: '#e0e9b6',
    500: '#d2df97',
    950: '#000000',
  },
}
SCSS
$custom: #d2df97;
$custom-light: #e0e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df97",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 70.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87685,
    "c": 0.09435,
    "h": 116.7
  },
  "luminance": 0.68711
}

Semantic roles & 50–950 ramp

primary
#D2DF97
secondary
#7263B7
accent
#25C041
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D2DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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