#D8BF59#D8BF59

#D8BF59 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.125 H 95.7°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D8BF59
RGBrgb(216, 191, 89)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 59%, 85%)
CMYKcmyk(0%, 11.6%, 58.8%, 15.3%)
CIE-LABlab(77.63, -3.32, 53.67)
CIE-LCHlch(77.63, 53.77, 93.54°)
OKLaboklab(80.61% -0.0123 0.1243)
OKLCHoklch(80.61% 0.125 95.7)
XYZxyz(48.7549, 52.5841, 17.0309)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF59 #5972D8
analogous
#D88059 #D8BF59 #B2D859
triadic
#D8BF59 #59D8BF #BF59D8
tetradic
#D8BF59 #59D880 #5972D8 #D859B2
square
#D8BF59 #59D880 #5972D8 #D859B2
split-complementary
#D8BF59 #59B2D8 #8059D8
monochromatic
#947E23 #C5A82E #D8BF59 #E4D28B #EFE5BC

Accessibility & contrast

On white

1.82
#D8BF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D8BF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF59
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF59#FFFFFF#000000##000000
##D8BF591.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4F
Deuteranopia (green-blind)
#D7C35E
Tritanopia (blue-blind)
#E8B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf59;
/* rgb */ color: rgb(216, 191, 89);
/* oklch */ color: oklch(80.6% 0.125 95.7);
Tailwind
colors: {
  custom: {
    50: '#e7d28b',
    500: '#d8bf59',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf59;
$custom-light: #e7d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf59",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 48.189,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80605,
    "c": 0.12493,
    "h": 95.7
  },
  "luminance": 0.52582
}

Semantic roles & 50–950 ramp

primary
#D8BF59
secondary
#3C4F99
accent
#63E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF59

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

Preview Lab → · Contrast checker → · Palette generator →

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