#D8BF50#D8BF50

#D8BF50 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.132 H 96.6°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D8BF50
RGBrgb(216, 191, 80)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.6%, 63%, 15.3%)
CIE-LABlab(77.54, -3.93, 57.62)
CIE-LCHlch(77.54, 57.76, 93.91°)
OKLaboklab(80.51% -0.0152 0.1316)
OKLCHoklch(80.51% 0.132 96.6)
XYZxyz(48.3998, 52.4420, 15.1608)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF50 #5069D8
analogous
#D87B50 #D8BF50 #ADD850
triadic
#D8BF50 #50D8BF #BF50D8
tetradic
#D8BF50 #50D87B #5069D8 #D850AD
square
#D8BF50 #50D87B #5069D8 #D850AD
split-complementary
#D8BF50 #50ADD8 #7B50D8
monochromatic
#8E7A20 #C0A52B #D8BF50 #E3D182 #EEE4B4

Accessibility & contrast

On white

1.83
#D8BF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D8BF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF50
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF50#FFFFFF#000000##000000
##D8BF501.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E8B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf50;
/* rgb */ color: rgb(216, 191, 80);
/* oklch */ color: oklch(80.5% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#e7d286',
    500: '#d8bf50',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf50;
$custom-light: #e7d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf50",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 48.971,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80511,
    "c": 0.13243,
    "h": 96.6
  },
  "luminance": 0.5244
}

Semantic roles & 50–950 ramp

primary
#D8BF50
secondary
#394994
accent
#60E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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