#D4DB97#D4DB97

#D4DB97 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.089 H 113.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#D4DB97
RGBrgb(212, 219, 151)
HSLhsl(66, 49%, 73%)
HSVhsv(66, 31%, 86%)
CMYKcmyk(3.2%, 0%, 31.1%, 14.1%)
CIE-LABlab(85.45, -13.02, 32.73)
CIE-LCHlch(85.45, 35.22, 111.70°)
OKLaboklab(87% -0.0346 0.0815)
OKLCHoklch(87% 0.089 113)
XYZxyz(58.0689, 66.8951, 39.1251)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB97 #9E97DB
analogous
#DBC097 #D4DB97 #B2DB97
triadic
#D4DB97 #97D4DB #DB97D4
tetradic
#D4DB97 #97DBC0 #9E97DB #DB97B2
square
#D4DB97 #97DBC0 #9E97DB #DB97B2
split-complementary
#D4DB97 #97B2DB #C097DB
monochromatic
#ACB840 #C1CB6A #D4DB97 #E7EBC4 #F6F7E8

Accessibility & contrast

On white

1.46
#D4DB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#D4DB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB97
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB97#FFFFFF#000000##000000
##D4DB971.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D592
Deuteranopia (green-blind)
#E5D69A
Tritanopia (blue-blind)
#DCD3C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d4db97;
/* rgb */ color: rgb(212, 219, 151);
/* oklch */ color: oklch(87.0% 0.089 113.0);
Tailwind
colors: {
  custom: {
    50: '#e2e6b6',
    500: '#d4db97',
    950: '#000000',
  },
}
SCSS
$custom: #d4db97;
$custom-light: #e2e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db97",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 66.176,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86997,
    "c": 0.08856,
    "h": 113
  },
  "luminance": 0.66894
}

Semantic roles & 50–950 ramp

primary
#D4DB97
secondary
#6C64B3
accent
#2ABC39
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D4DB97

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

Preview Lab → · Contrast checker → · Palette generator →

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