#DBC787#DBC787

#DBC787 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.2% C 0.085 H 92.8°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DBC787
RGBrgb(219, 199, 135)
HSLhsl(46, 54%, 69%)
HSVhsv(46, 38%, 86%)
CMYKcmyk(0%, 9.1%, 38.4%, 14.1%)
CIE-LABlab(80.55, -2.01, 34.61)
CIE-LCHlch(80.55, 34.67, 93.33°)
OKLaboklab(83.17% -0.0041 0.0853)
OKLCHoklch(83.17% 0.085 92.8)
XYZxyz(54.0111, 57.6580, 31.2010)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC787 #879BDB
analogous
#DB9D87 #DBC787 #C5DB87
triadic
#DBC787 #87DBC7 #C787DB
tetradic
#DBC787 #87DB9D #879BDB #DB87C5
square
#DBC787 #87DB9D #879BDB #DB87C5
split-complementary
#DBC787 #87C5DB #9D87DB
monochromatic
#B29435 #CDB158 #DBC787 #E9DDB6 #F7F3E5

Accessibility & contrast

On white

1.68
#DBC787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#DBC787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC787
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC787#FFFFFF#000000##000000
##DBC7871.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C482
Deuteranopia (green-blind)
#D9CB89
Tritanopia (blue-blind)
#E7BDB7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc787;
/* rgb */ color: rgb(219, 199, 135);
/* oklch */ color: oklch(83.2% 0.085 92.8);
Tailwind
colors: {
  custom: {
    50: '#e7d7aa',
    500: '#dbc787',
    950: '#000000',
  },
}
SCSS
$custom: #dbc787;
$custom-light: #e7d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc787",
  "rgb": {
    "r": 219,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 45.714,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83167,
    "c": 0.08544,
    "h": 92.8
  },
  "luminance": 0.57656
}

Semantic roles & 50–950 ramp

primary
#DBC787
secondary
#546BB2
accent
#4AC124
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DBC787

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

Preview Lab → · Contrast checker → · Palette generator →

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