#D4DF97#D4DF97

#D4DF97 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.094 H 115.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#D4DF97
RGBrgb(212, 223, 151)
HSLhsl(69, 53%, 73%)
HSVhsv(69, 32%, 87%)
CMYKcmyk(4.9%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.51, -15.02, 34.12)
CIE-LCHlch(86.51, 37.28, 113.76°)
OKLaboklab(87.84% -0.0403 0.0848)
OKLCHoklch(87.84% 0.094 115.4)
XYZxyz(59.1250, 69.0073, 39.4772)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF97 #A297DF
analogous
#DFC697 #D4DF97 #B0DF97
triadic
#D4DF97 #97D4DF #DF97D4
tetradic
#D4DF97 #97DFC6 #A297DF #DF97B0
square
#D4DF97 #97DFC6 #A297DF #DF97B0
split-complementary
#D4DF97 #97B0DF #C697DF
monochromatic
#ACC03B #C1D168 #D4DF97 #E7EDC6 #F5F8E8

Accessibility & contrast

On white

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

On black

14.80
#D4DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF97
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF97#FFFFFF#000000##000000
##D4DF971.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4df97;
/* rgb */ color: rgb(212, 223, 151);
/* oklch */ color: oklch(87.8% 0.094 115.4);
Tailwind
colors: {
  custom: {
    50: '#e2e9b6',
    500: '#d4df97',
    950: '#000000',
  },
}
SCSS
$custom: #d4df97;
$custom-light: #e2e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df97",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 69.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87838,
    "c": 0.09388,
    "h": 115.4
  },
  "luminance": 0.69007
}

Semantic roles & 50–950 ramp

primary
#D4DF97
secondary
#7063B7
accent
#25C03D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D4DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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