#D9B73F#D9B73F

#D9B73F is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.139 H 92.8°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D9B73F
RGBrgb(217, 183, 63)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 71%, 85%)
CMYKcmyk(0%, 15.7%, 71%, 14.9%)
CIE-LABlab(75.44, -0.30, 62.54)
CIE-LCHlch(75.44, 62.55, 90.27°)
OKLaboklab(78.83% -0.0068 0.1392)
OKLCHoklch(78.83% 0.139 92.8)
XYZxyz(46.4484, 48.9802, 11.7093)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B73F #3F61D9
analogous
#D96A3F #D9B73F #AED93F
triadic
#D9B73F #3FD9B7 #B73FD9
tetradic
#D9B73F #3FD96A #3F61D9 #D93FAE
square
#D9B73F #3FD96A #3F61D9 #D93FAE
split-complementary
#D9B73F #3FAED9 #6A3FD9
monochromatic
#846C1A #B79624 #D9B73F #E3CA72 #EDDDA5

Accessibility & contrast

On white

1.95
#D9B73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#D9B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B73F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B73F#FFFFFF#000000##000000
##D9B73F1.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#EAA89F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b73f;
/* rgb */ color: rgb(217, 183, 63);
/* oklch */ color: oklch(78.8% 0.139 92.8);
Tailwind
colors: {
  custom: {
    50: '#e9cc7b',
    500: '#d9b73f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b73f;
$custom-light: #e9cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b73f",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 46.753,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.13934,
    "h": 92.8
  },
  "luminance": 0.48978
}

Semantic roles & 50–950 ramp

primary
#D9B73F
secondary
#9AA8DA
accent
#64EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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