#D7BC50#D7BC50

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

Color values

HEX#D7BC50
RGBrgb(215, 188, 80)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 12.6%, 62.8%, 15.7%)
CIE-LABlab(76.68, -2.80, 56.65)
CIE-LCHlch(76.68, 56.72, 92.83°)
OKLaboklab(79.8% -0.0118 0.1295)
OKLCHoklch(79.8% 0.13 95.2)
XYZxyz(47.4576, 50.9950, 14.9311)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC50 #506BD7
analogous
#D77850 #D7BC50 #AED750
triadic
#D7BC50 #50D7BC #BC50D7
tetradic
#D7BC50 #50D778 #506BD7 #D750AE
square
#D7BC50 #50D778 #506BD7 #D750AE
split-complementary
#D7BC50 #50AED7 #7850D7
monochromatic
#8C7720 #BEA12B #D7BC50 #E2CF82 #EEE2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BC50#FFFFFF#000000##000000
##D7BC501.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)
#CEB844
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc50;
/* rgb */ color: rgb(215, 188, 80);
/* oklch */ color: oklch(79.8% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#e7cf85',
    500: '#d7bc50',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc50;
$custom-light: #e7cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc50",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 48,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79803,
    "c": 0.13006,
    "h": 95.2
  },
  "luminance": 0.50993
}

Semantic roles & 50–950 ramp

primary
#D7BC50
secondary
#394B92
accent
#63E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BC50

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

Preview Lab → · Contrast checker → · Palette generator →

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