#D9BA59#D9BA59

#D9BA59 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.7% C 0.121 H 91.7°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D9BA59
RGBrgb(217, 186, 89)
HSLhsl(45, 63%, 60%)
HSVhsv(45, 59%, 85%)
CMYKcmyk(0%, 14.3%, 59%, 14.9%)
CIE-LABlab(76.43, -0.30, 52.34)
CIE-LCHlch(76.43, 52.34, 90.33°)
OKLaboklab(79.68% -0.0037 0.1214)
OKLCHoklch(79.68% 0.121 91.7)
XYZxyz(47.9795, 50.5933, 16.6875)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA59 #5978D9
analogous
#D97A59 #D9BA59 #B8D959
triadic
#D9BA59 #59D9BA #BA59D9
tetradic
#D9BA59 #59D97A #5978D9 #D959B8
square
#D9BA59 #59D97A #5978D9 #D959B8
split-complementary
#D9BA59 #59B8D9 #7A59D9
monochromatic
#957A22 #C7A22E #D9BA59 #E4CF8B #F0E3BD

Accessibility & contrast

On white

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

On black

11.12
#D9BA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA59
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA59#FFFFFF#000000##000000
##D9BA591.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ba59;
/* rgb */ color: rgb(217, 186, 89);
/* oklch */ color: oklch(79.7% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#e8ce8b',
    500: '#d9ba59',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba59;
$custom-light: #e8ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba59",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 45.469,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.79681,
    "c": 0.12149,
    "h": 91.7
  },
  "luminance": 0.50591
}

Semantic roles & 50–950 ramp

primary
#D9BA59
secondary
#3C539A
accent
#6AE642
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BA59

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

Preview Lab → · Contrast checker → · Palette generator →

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