#D7BC4E#D7BC4E

#D7BC4E is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.132 H 95.4°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D7BC4E
RGBrgb(215, 188, 78)
HSLhsl(48, 63%, 57%)
HSVhsv(48, 64%, 84%)
CMYKcmyk(0%, 12.6%, 63.7%, 15.7%)
CIE-LABlab(76.66, -2.93, 57.51)
CIE-LCHlch(76.66, 57.59, 92.91°)
OKLaboklab(79.78% -0.0124 0.1311)
OKLCHoklch(79.78% 0.132 95.4)
XYZxyz(47.3849, 50.9659, 14.5478)
Luminance0.5096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC4E #4E69D7
analogous
#D7774E #D7BC4E #AED74E
triadic
#D7BC4E #4ED7BC #BC4ED7
tetradic
#D7BC4E #4ED777 #4E69D7 #D74EAE
square
#D7BC4E #4ED777 #4E69D7 #D74EAE
split-complementary
#D7BC4E #4EAED7 #774ED7
monochromatic
#8B761F #BDA02B #D7BC4E #E2CF80 #EEE2B2

Accessibility & contrast

On white

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

On black

11.19
#D7BC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC4E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC4E#FFFFFF#000000##000000
##D7BC4E1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB841
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc4e;
/* rgb */ color: rgb(215, 188, 78);
/* oklch */ color: oklch(79.8% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#e7cf84',
    500: '#d7bc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc4e;
$custom-light: #e7cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc4e",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 48.175,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.13165,
    "h": 95.4
  },
  "luminance": 0.50964
}

Semantic roles & 50–950 ramp

primary
#D7BC4E
secondary
#384A91
accent
#62E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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