#DBC987#DBC987

#DBC987 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.087 H 94.7°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DBC987
RGBrgb(219, 201, 135)
HSLhsl(47, 54%, 69%)
HSVhsv(47, 38%, 86%)
CMYKcmyk(0%, 8.2%, 38.4%, 14.1%)
CIE-LABlab(81.06, -3.05, 35.28)
CIE-LCHlch(81.06, 35.41, 94.94°)
OKLaboklab(83.57% -0.0071 0.0869)
OKLCHoklch(83.57% 0.087 94.7)
XYZxyz(54.4743, 58.5844, 31.3554)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC987 #8799DB
analogous
#DB9F87 #DBC987 #C3DB87
triadic
#DBC987 #87DBC9 #C987DB
tetradic
#DBC987 #87DB9F #8799DB #DB87C3
square
#DBC987 #87DB9F #8799DB #DB87C3
split-complementary
#DBC987 #87C3DB #9F87DB
monochromatic
#B29735 #CDB458 #DBC987 #E9DEB6 #F7F3E5

Accessibility & contrast

On white

1.65
#DBC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#DBC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC987
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC987#FFFFFF#000000##000000
##DBC9871.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C682
Deuteranopia (green-blind)
#DBCC89
Tritanopia (blue-blind)
#E7BFB8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dbc987;
/* rgb */ color: rgb(219, 201, 135);
/* oklch */ color: oklch(83.6% 0.087 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7d9aa',
    500: '#dbc987',
    950: '#000000',
  },
}
SCSS
$custom: #dbc987;
$custom-light: #e7d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc987",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 47.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83573,
    "c": 0.08718,
    "h": 94.7
  },
  "luminance": 0.58583
}

Semantic roles & 50–950 ramp

primary
#DBC987
secondary
#5468B2
accent
#46C124
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DBC987

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

Preview Lab → · Contrast checker → · Palette generator →

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