#D7BC56#D7BC56

#D7BC56 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.125 H 94.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D7BC56
RGBrgb(215, 188, 86)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 12.6%, 60%, 15.7%)
CIE-LABlab(76.73, -2.40, 54.01)
CIE-LCHlch(76.73, 54.06, 92.54°)
OKLaboklab(79.86% -0.01 0.1247)
OKLCHoklch(79.86% 0.125 94.6)
XYZxyz(47.6893, 51.0877, 16.1513)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC56 #5671D7
analogous
#D77C56 #D7BC56 #B2D756
triadic
#D7BC56 #56D7BC #BC56D7
tetradic
#D7BC56 #56D77C #5671D7 #D756B2
square
#D7BC56 #56D77C #5671D7 #D756B2
split-complementary
#D7BC56 #56B2D7 #7C56D7
monochromatic
#907922 #C2A32E #D7BC56 #E3D087 #EEE3B9

Accessibility & contrast

On white

1.87
#D7BC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#D7BC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC56
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC56#FFFFFF#000000##000000
##D7BC561.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB94B
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#E7AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc56;
/* rgb */ color: rgb(215, 188, 86);
/* oklch */ color: oklch(79.9% 0.125 94.6);
Tailwind
colors: {
  custom: {
    50: '#e6cf89',
    500: '#d7bc56',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc56;
$custom-light: #e6cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc56",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 47.442,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79865,
    "c": 0.1251,
    "h": 94.6
  },
  "luminance": 0.51085
}

Semantic roles & 50–950 ramp

primary
#D7BC56
secondary
#3B4E96
accent
#65E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC56

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

Preview Lab → · Contrast checker → · Palette generator →

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