#D7BC4F#D7BC4F

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

Color values

HEX#D7BC4F
RGBrgb(215, 188, 79)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 12.6%, 63.3%, 15.7%)
CIE-LABlab(76.67, -2.86, 57.08)
CIE-LCHlch(76.67, 57.15, 92.87°)
OKLaboklab(79.79% -0.0121 0.1303)
OKLCHoklch(79.79% 0.131 95.3)
XYZxyz(47.4210, 50.9804, 14.7380)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC4F #4F6AD7
analogous
#D7784F #D7BC4F #AED74F
triadic
#D7BC4F #4FD7BC #BC4FD7
tetradic
#D7BC4F #4FD778 #4F6AD7 #D74FAE
square
#D7BC4F #4FD778 #4F6AD7 #D74FAE
split-complementary
#D7BC4F #4FAED7 #784FD7
monochromatic
#8C7620 #BEA12B #D7BC4F #E2CF81 #EEE2B3

Accessibility & contrast

On white

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

On black

11.20
#D7BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC4F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC4F#FFFFFF#000000##000000
##D7BC4F1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bc4f;
/* rgb */ color: rgb(215, 188, 79);
/* oklch */ color: oklch(79.8% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#e7cf85',
    500: '#d7bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc4f;
$custom-light: #e7cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc4f",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 48.088,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79793,
    "c": 0.13085,
    "h": 95.3
  },
  "luminance": 0.50978
}

Semantic roles & 50–950 ramp

primary
#D7BC4F
secondary
#394A92
accent
#62E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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