#D8BC50#D8BC50

#D8BC50 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.130 H 94.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D8BC50
RGBrgb(216, 188, 80)
HSLhsl(48, 64%, 58%)
HSVhsv(48, 63%, 85%)
CMYKcmyk(0%, 13%, 63%, 15.3%)
CIE-LABlab(76.77, -2.38, 56.78)
CIE-LCHlch(76.77, 56.83, 92.40°)
OKLaboklab(79.9% -0.0107 0.1298)
OKLCHoklch(79.9% 0.13 94.7)
XYZxyz(47.7523, 51.1470, 14.9450)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BC50 #506CD8
analogous
#D87850 #D8BC50 #B0D850
triadic
#D8BC50 #50D8BC #BC50D8
tetradic
#D8BC50 #50D878 #506CD8 #D850B0
square
#D8BC50 #50D878 #506CD8 #D850B0
split-complementary
#D8BC50 #50B0D8 #7850D8
monochromatic
#8E7720 #C0A12B #D8BC50 #E3CF82 #EEE2B4

Accessibility & contrast

On white

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

On black

11.23
#D8BC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BC50
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BC50#FFFFFF#000000##000000
##D8BC501.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB844
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E8AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bc50;
/* rgb */ color: rgb(216, 188, 80);
/* oklch */ color: oklch(79.9% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7cf85',
    500: '#d8bc50',
    950: '#000000',
  },
}
SCSS
$custom: #d8bc50;
$custom-light: #e7cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bc50",
  "rgb": {
    "r": 216,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 47.647,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79897,
    "c": 0.1302,
    "h": 94.7
  },
  "luminance": 0.51145
}

Semantic roles & 50–950 ramp

primary
#D8BC50
secondary
#394B94
accent
#63E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BC50

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

Preview Lab → · Contrast checker → · Palette generator →

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