#D8BC49#D8BC49

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

Color values

HEX#D8BC49
RGBrgb(216, 188, 73)
HSLhsl(48, 65%, 57%)
HSVhsv(48, 66%, 85%)
CMYKcmyk(0%, 13%, 66.2%, 15.3%)
CIE-LABlab(76.71, -2.80, 59.74)
CIE-LCHlch(76.71, 59.80, 92.69°)
OKLaboklab(79.83% -0.0127 0.135)
OKLCHoklch(79.83% 0.136 95.4)
XYZxyz(47.5070, 51.0488, 13.6531)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC49 #4965D8
analogous
#D87549 #D8BC49 #ADD849
triadic
#D8BC49 #49D8BC #BC49D8
tetradic
#D8BC49 #49D875 #4965D8 #D849AD
square
#D8BC49 #49D875 #4965D8 #D849AD
split-complementary
#D8BC49 #49ADD8 #7549D8
monochromatic
#89741D #BC9F28 #D8BC49 #E3CF7B #EEE1AE

Accessibility & contrast

On white

1.87
#D8BC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D8BC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC49
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC49#FFFFFF#000000##000000
##D8BC491.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83B
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#E9AEA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bc49;
/* rgb */ color: rgb(216, 188, 73);
/* oklch */ color: oklch(79.8% 0.136 95.4);
Tailwind
colors: {
  custom: {
    50: '#e8cf81',
    500: '#d8bc49',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc49;
$custom-light: #e8cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc49",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 73
  },
  "hsl": {
    "h": 48.252,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.13558,
    "h": 95.4
  },
  "luminance": 0.51046
}

Semantic roles & 50–950 ramp

primary
#D8BC49
secondary
#36478F
accent
#61E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BC49

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

Preview Lab → · Contrast checker → · Palette generator →

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