#D9B73B#D9B73B

#D9B73B is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.142 H 93.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D9B73B
RGBrgb(217, 183, 59)
HSLhsl(47, 68%, 54%)
HSVhsv(47, 73%, 85%)
CMYKcmyk(0%, 15.7%, 72.8%, 14.9%)
CIE-LABlab(75.41, -0.49, 64.06)
CIE-LCHlch(75.41, 64.06, 90.44°)
OKLaboklab(78.8% -0.0078 0.1417)
OKLCHoklch(78.8% 0.142 93.1)
XYZxyz(46.3407, 48.9371, 11.1418)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B73B #3B5DD9
analogous
#D9683B #D9B73B #ACD93B
triadic
#D9B73B #3BD9B7 #B73BD9
tetradic
#D9B73B #3BD968 #3B5DD9 #D93BAC
square
#D9B73B #3BD968 #3B5DD9 #D93BAC
split-complementary
#D9B73B #3BACD9 #683BD9
monochromatic
#816A19 #B49523 #D9B73B #E3CA6E #EDDDA2

Accessibility & contrast

On white

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

On black

10.79
#D9B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B73B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B73B#FFFFFF#000000##000000
##D9B73B1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB427
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#EBA89E
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b73b;
/* rgb */ color: rgb(217, 183, 59);
/* oklch */ color: oklch(78.8% 0.142 93.1);
Tailwind
colors: {
  custom: {
    50: '#e9cc79',
    500: '#d9b73b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b73b;
$custom-light: #e9cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b73b",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 47.089,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78796,
    "c": 0.14186,
    "h": 93.1
  },
  "luminance": 0.48934
}

Semantic roles & 50–950 ramp

primary
#D9B73B
secondary
#96A5DA
accent
#63EA3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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