#DBC87F#DBC87F

#DBC87F is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.095 H 95.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DBC87F
RGBrgb(219, 200, 127)
HSLhsl(48, 56%, 68%)
HSVhsv(48, 42%, 86%)
CMYKcmyk(0%, 8.7%, 42%, 14.1%)
CIE-LABlab(80.68, -3.40, 38.88)
CIE-LCHlch(80.68, 39.03, 94.99°)
OKLaboklab(83.24% -0.0087 0.0948)
OKLCHoklch(83.24% 0.095 95.3)
XYZxyz(53.6997, 57.9028, 28.4222)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC87F #7F92DB
analogous
#DB9A7F #DBC87F #C0DB7F
triadic
#DBC87F #7FDBC8 #C87FDB
tetradic
#DBC87F #7FDB9A #7F92DB #DB7FC0
square
#DBC87F #7FDB9A #7F92DB #DB7FC0
split-complementary
#DBC87F #7FC0DB #9A7FDB
monochromatic
#AF9531 #CEB34F #DBC87F #E8DDAF #F6F1DF

Accessibility & contrast

On white

1.67
#DBC87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DBC87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC87F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC87F#FFFFFF#000000##000000
##DBC87F1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C579
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#E8BEB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dbc87f;
/* rgb */ color: rgb(219, 200, 127);
/* oklch */ color: oklch(83.2% 0.095 95.3);
Tailwind
colors: {
  custom: {
    50: '#e8d8a5',
    500: '#dbc87f',
    950: '#000000',
  },
}
SCSS
$custom: #dbc87f;
$custom-light: #e8d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc87f",
  "rgb": {
    "r": 219,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 47.609,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83235,
    "c": 0.0952,
    "h": 95.3
  },
  "luminance": 0.57901
}

Semantic roles & 50–950 ramp

primary
#DBC87F
secondary
#4D62B1
accent
#43C422
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DBC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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