#D7BC59#D7BC59

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

Color values

HEX#D7BC59
RGBrgb(215, 188, 89)
HSLhsl(47, 61%, 60%)
HSVhsv(47, 59%, 84%)
CMYKcmyk(0%, 12.6%, 58.6%, 15.7%)
CIE-LABlab(76.76, -2.18, 52.66)
CIE-LCHlch(76.76, 52.71, 92.37°)
OKLaboklab(79.9% -0.009 0.1222)
OKLCHoklch(79.9% 0.123 94.2)
XYZxyz(47.8127, 51.1371, 16.8012)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC59 #5974D7
analogous
#D77D59 #D7BC59 #B3D759
triadic
#D7BC59 #59D7BC #BC59D7
tetradic
#D7BC59 #59D77D #5974D7 #D759B3
square
#D7BC59 #59D77D #5974D7 #D759B3
split-complementary
#D7BC59 #59B3D7 #7D59D7
monochromatic
#927B23 #C4A42F #D7BC59 #E3D08A #EFE4BC

Accessibility & contrast

On white

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

On black

11.23
#D7BC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC59
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC59#FFFFFF#000000##000000
##D7BC591.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bc59;
/* rgb */ color: rgb(215, 188, 89);
/* oklch */ color: oklch(79.9% 0.122 94.2);
Tailwind
colors: {
  custom: {
    50: '#e6cf8b',
    500: '#d7bc59',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc59;
$custom-light: #e6cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc59",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 89
  },
  "hsl": {
    "h": 47.143,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79898,
    "c": 0.1225,
    "h": 94.2
  },
  "luminance": 0.51135
}

Semantic roles & 50–950 ramp

primary
#D7BC59
secondary
#3D5098
accent
#66E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC59

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

Preview Lab → · Contrast checker → · Palette generator →

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