#D9DF97#D9DF97

#D9DF97 is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.093 H 112.2°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#D9DF97
RGBrgb(217, 223, 151)
HSLhsl(65, 53%, 73%)
HSVhsv(65, 32%, 87%)
CMYKcmyk(2.7%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.88, -13.13, 34.68)
CIE-LCHlch(86.88, 37.09, 110.74°)
OKLaboklab(88.23% -0.0351 0.0861)
OKLCHoklch(88.23% 0.093 112.2)
XYZxyz(60.5891, 69.7622, 39.5458)
Luminance0.6976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DF97 #9D97DF
analogous
#DFC197 #D9DF97 #B5DF97
triadic
#D9DF97 #97D9DF #DF97D9
tetradic
#D9DF97 #97DFC1 #9D97DF #DF97B5
square
#D9DF97 #97DFC1 #9D97DF #DF97B5
split-complementary
#D9DF97 #97B5DF #C197DF
monochromatic
#B5C03B #C8D168 #D9DF97 #EAEDC6 #F6F8E8

Accessibility & contrast

On white

1.40
#D9DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#D9DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DF97
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DF97#FFFFFF#000000##000000
##D9DF971.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#EADB9A
Tritanopia (blue-blind)
#E2D7CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9df97;
/* rgb */ color: rgb(217, 223, 151);
/* oklch */ color: oklch(88.2% 0.093 112.2);
Tailwind
colors: {
  custom: {
    50: '#e5e8b6',
    500: '#d9df97',
    950: '#000000',
  },
}
SCSS
$custom: #d9df97;
$custom-light: #e5e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d9df97",
  "rgb": {
    "r": 217,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 65,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88226,
    "c": 0.09295,
    "h": 112.2
  },
  "luminance": 0.69761
}

Semantic roles & 50–950 ramp

primary
#D9DF97
secondary
#6A63B7
accent
#25C032
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #D9DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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