#D7BC49#D7BC49

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

Color values

HEX#D7BC49
RGBrgb(215, 188, 73)
HSLhsl(49, 64%, 56%)
HSVhsv(49, 66%, 84%)
CMYKcmyk(0%, 12.6%, 66%, 15.7%)
CIE-LABlab(76.62, -3.23, 59.61)
CIE-LCHlch(76.62, 59.70, 93.10°)
OKLaboklab(79.74% -0.0139 0.1348)
OKLCHoklch(79.74% 0.135 95.9)
XYZxyz(47.2124, 50.8969, 13.6393)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC49 #4964D7
analogous
#D77549 #D7BC49 #ABD749
triadic
#D7BC49 #49D7BC #BC49D7
tetradic
#D7BC49 #49D775 #4964D7 #D749AB
square
#D7BC49 #49D775 #4964D7 #D749AB
split-complementary
#D7BC49 #49ABD7 #7549D7
monochromatic
#88741E #BA9E29 #D7BC49 #E2CE7B #EDE1AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BC49#FFFFFF#000000##000000
##D7BC491.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)
#CEB83B
Deuteranopia (green-blind)
#D5C14F
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc49;
/* rgb */ color: rgb(215, 188, 73);
/* oklch */ color: oklch(79.7% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#e7cf81',
    500: '#d7bc49',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc49;
$custom-light: #e7cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc49",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 73
  },
  "hsl": {
    "h": 48.592,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79737,
    "c": 0.13547,
    "h": 95.9
  },
  "luminance": 0.50895
}

Semantic roles & 50–950 ramp

primary
#D7BC49
secondary
#36478E
accent
#60E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BC49

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

Preview Lab → · Contrast checker → · Palette generator →

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