#DBD987#DBD987

#DBD987 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.104 H 107.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DBD987
RGBrgb(219, 217, 135)
HSLhsl(59, 54%, 69%)
HSVhsv(59, 38%, 86%)
CMYKcmyk(0%, 0.9%, 38.4%, 14.1%)
CIE-LABlab(85.22, -11.21, 40.63)
CIE-LCHlch(85.22, 42.15, 105.43°)
OKLaboklab(86.87% -0.0306 0.0992)
OKLCHoklch(86.87% 0.104 107.2)
XYZxyz(58.4003, 66.4363, 32.6640)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD987 #8789DB
analogous
#DBAF87 #DBD987 #B3DB87
triadic
#DBD987 #87DBD9 #D987DB
tetradic
#DBD987 #87DBAF #8789DB #DB87B3
square
#DBD987 #87DBAF #8789DB #DB87B3
split-complementary
#DBD987 #87B3DB #AF87DB
monochromatic
#B2AF35 #CDCA58 #DBD987 #E9E8B6 #F7F7E5

Accessibility & contrast

On white

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

On black

14.29
#DBD987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD987
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD987#FFFFFF#000000##000000
##DBD9871.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D381
Deuteranopia (green-blind)
#E7D78B
Tritanopia (blue-blind)
#E6CFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dbd987;
/* rgb */ color: rgb(219, 217, 135);
/* oklch */ color: oklch(86.9% 0.104 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7e4ab',
    500: '#dbd987',
    950: '#000000',
  },
}
SCSS
$custom: #dbd987;
$custom-light: #e7e4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd987",
  "rgb": {
    "r": 219,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 58.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86865,
    "c": 0.10381,
    "h": 107.2
  },
  "luminance": 0.66435
}

Semantic roles & 50–950 ramp

primary
#DBD987
secondary
#5457B2
accent
#28C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DBD987

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

Preview Lab → · Contrast checker → · Palette generator →

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