#D4DB87#D4DB87

#D4DB87 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.7% C 0.107 H 112.5°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D4DB87
RGBrgb(212, 219, 135)
HSLhsl(65, 54%, 69%)
HSVhsv(65, 38%, 86%)
CMYKcmyk(3.2%, 0%, 38.4%, 14.1%)
CIE-LABlab(85.21, -14.94, 40.50)
CIE-LCHlch(85.21, 43.17, 110.24°)
OKLaboklab(86.72% -0.041 0.099)
OKLCHoklch(86.72% 0.107 112.5)
XYZxyz(56.8566, 66.4102, 32.7402)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB87 #8E87DB
analogous
#DBB887 #D4DB87 #AADB87
triadic
#D4DB87 #87D4DB #DB87D4
tetradic
#D4DB87 #87DBB8 #8E87DB #DB87AA
square
#D4DB87 #87DBB8 #8E87DB #DB87AA
split-complementary
#D4DB87 #87AADB #B887DB
monochromatic
#A8B235 #C3CD58 #D4DB87 #E5E9B6 #F6F7E5

Accessibility & contrast

On white

1.47
#D4DB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#D4DB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB87
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB87#FFFFFF#000000##000000
##D4DB871.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#DED2C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d4db87;
/* rgb */ color: rgb(212, 219, 135);
/* oklch */ color: oklch(86.7% 0.107 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e6ab',
    500: '#d4db87',
    950: '#000000',
  },
}
SCSS
$custom: #d4db87;
$custom-light: #e2e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db87",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 65,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86722,
    "c": 0.10711,
    "h": 112.5
  },
  "luminance": 0.66409
}

Semantic roles & 50–950 ramp

primary
#D4DB87
secondary
#5C54B2
accent
#24C131
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4DB87

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

Preview Lab → · Contrast checker → · Palette generator →

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