#D7BC4B#D7BC4B

#D7BC4B is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.134 H 95.7°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#D7BC4B
RGBrgb(215, 188, 75)
HSLhsl(48, 64%, 57%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 12.6%, 65.1%, 15.7%)
CIE-LABlab(76.63, -3.11, 58.78)
CIE-LCHlch(76.63, 58.86, 93.03°)
OKLaboklab(79.76% -0.0133 0.1333)
OKLCHoklch(79.76% 0.134 95.7)
XYZxyz(47.2797, 50.9239, 13.9942)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC4B #4B66D7
analogous
#D7764B #D7BC4B #ACD74B
triadic
#D7BC4B #4BD7BC #BC4BD7
tetradic
#D7BC4B #4BD776 #4B66D7 #D74BAC
square
#D7BC4B #4BD776 #4B66D7 #D74BAC
split-complementary
#D7BC4B #4BACD7 #764BD7
monochromatic
#89751E #BB9F2A #D7BC4B #E2CF7D #EDE1AF

Accessibility & contrast

On white

1.88
#D7BC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#D7BC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC4B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC4B#FFFFFF#000000##000000
##D7BC4B1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83D
Deuteranopia (green-blind)
#D5C151
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc4b;
/* rgb */ color: rgb(215, 188, 75);
/* oklch */ color: oklch(79.8% 0.134 95.7);
Tailwind
colors: {
  custom: {
    50: '#e7cf82',
    500: '#d7bc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc4b;
$custom-light: #e7cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc4b",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 48.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79755,
    "c": 0.13396,
    "h": 95.7
  },
  "luminance": 0.50922
}

Semantic roles & 50–950 ramp

primary
#D7BC4B
secondary
#37488F
accent
#61E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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