#D1DF97#D1DF97

#D1DF97 is a very light, moderate yellow-green. Relative luminance 0.686; OKLCH L 87.6% C 0.095 H 117.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#D1DF97
RGBrgb(209, 223, 151)
HSLhsl(72, 53%, 73%)
HSVhsv(72, 32%, 87%)
CMYKcmyk(6.3%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.29, -16.15, 33.79)
CIE-LCHlch(86.29, 37.45, 115.54°)
OKLaboklab(87.61% -0.0435 0.084)
OKLCHoklch(87.61% 0.095 117.4)
XYZxyz(58.2680, 68.5654, 39.4370)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF97 #A597DF
analogous
#DFC997 #D1DF97 #ADDF97
triadic
#D1DF97 #97D1DF #DF97D1
tetradic
#D1DF97 #97DFC9 #A597DF #DF97AD
square
#D1DF97 #97DFC9 #A597DF #DF97AD
split-complementary
#D1DF97 #97ADDF #C997DF
monochromatic
#A6C03B #BCD168 #D1DF97 #E6EDC6 #F5F8E8

Accessibility & contrast

On white

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

On black

14.71
#D1DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF97
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF97#FFFFFF#000000##000000
##D1DF971.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D892
Deuteranopia (green-blind)
#E7D89A
Tritanopia (blue-blind)
#D8D7CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d1df97;
/* rgb */ color: rgb(209, 223, 151);
/* oklch */ color: oklch(87.6% 0.095 117.4);
Tailwind
colors: {
  custom: {
    50: '#e0e9b6',
    500: '#d1df97',
    950: '#000000',
  },
}
SCSS
$custom: #d1df97;
$custom-light: #e0e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df97",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 71.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87609,
    "c": 0.09459,
    "h": 117.4
  },
  "luminance": 0.68565
}

Semantic roles & 50–950 ramp

primary
#D1DF97
secondary
#7363B7
accent
#25C043
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D1DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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