#D7BC5E#D7BC5E

#D7BC5E is a light, moderate yellow. Relative luminance 0.512; OKLCH L 80.0% C 0.118 H 93.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D7BC5E
RGBrgb(215, 188, 94)
HSLhsl(47, 60%, 61%)
HSVhsv(47, 56%, 84%)
CMYKcmyk(0%, 12.6%, 56.3%, 15.7%)
CIE-LABlab(76.81, -1.81, 50.37)
CIE-LCHlch(76.81, 50.40, 92.06°)
OKLaboklab(79.96% -0.0073 0.1178)
OKLCHoklch(79.96% 0.118 93.6)
XYZxyz(48.0299, 51.2239, 17.9448)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC5E #5E79D7
analogous
#D7805E #D7BC5E #B5D75E
triadic
#D7BC5E #5ED7BC #BC5ED7
tetradic
#D7BC5E #5ED780 #5E79D7 #D75EB5
square
#D7BC5E #5ED780 #5E79D7 #D75EB5
split-complementary
#D7BC5E #5EB5D7 #805ED7
monochromatic
#957C25 #C6A531 #D7BC5E #E3D08F #EFE5C0

Accessibility & contrast

On white

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

On black

11.24
#D7BC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC5E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC5E#FFFFFF#000000##000000
##D7BC5E1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB955
Deuteranopia (green-blind)
#D4C162
Tritanopia (blue-blind)
#E6AFA7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bc5e;
/* rgb */ color: rgb(215, 188, 94);
/* oklch */ color: oklch(80.0% 0.118 93.6);
Tailwind
colors: {
  custom: {
    50: '#e6cf8e',
    500: '#d7bc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc5e;
$custom-light: #e6cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc5e",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 94
  },
  "hsl": {
    "h": 46.612,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.79957,
    "c": 0.11804,
    "h": 93.6
  },
  "luminance": 0.51222
}

Semantic roles & 50–950 ramp

primary
#D7BC5E
secondary
#3F539A
accent
#44C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D7BC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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