#D8BA59#D8BA59

#D8BA59 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.121 H 92.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D8BA59
RGBrgb(216, 186, 89)
HSLhsl(46, 62%, 60%)
HSVhsv(46, 59%, 85%)
CMYKcmyk(0%, 13.9%, 58.8%, 15.3%)
CIE-LABlab(76.34, -0.72, 52.20)
CIE-LCHlch(76.34, 52.21, 90.79°)
OKLaboklab(79.59% -0.0048 0.1212)
OKLCHoklch(79.59% 0.121 92.3)
XYZxyz(47.6831, 50.4404, 16.6736)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA59 #5977D8
analogous
#D87B59 #D8BA59 #B6D859
triadic
#D8BA59 #59D8BA #BA59D8
tetradic
#D8BA59 #59D87B #5977D8 #D859B6
square
#D8BA59 #59D87B #5977D8 #D859B6
split-complementary
#D8BA59 #59B6D8 #7B59D8
monochromatic
#947923 #C5A22E #D8BA59 #E4CF8B #EFE3BC

Accessibility & contrast

On white

1.89
#D8BA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#D8BA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA59
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA59#FFFFFF#000000##000000
##D8BA591.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74F
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#E8ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba59;
/* rgb */ color: rgb(216, 186, 89);
/* oklch */ color: oklch(79.6% 0.121 92.3);
Tailwind
colors: {
  custom: {
    50: '#e7ce8b',
    500: '#d8ba59',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba59;
$custom-light: #e7ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba59",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 45.827,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79586,
    "c": 0.12127,
    "h": 92.3
  },
  "luminance": 0.50438
}

Semantic roles & 50–950 ramp

primary
#D8BA59
secondary
#3C5299
accent
#69E543
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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