#D9B73E#D9B73E

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

Color values

HEX#D9B73E
RGBrgb(217, 183, 62)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 71%, 85%)
CMYKcmyk(0%, 15.7%, 71.4%, 14.9%)
CIE-LABlab(75.43, -0.35, 62.93)
CIE-LCHlch(75.43, 62.93, 90.32°)
OKLaboklab(78.82% -0.007 0.1398)
OKLCHoklch(78.82% 0.14 92.9)
XYZxyz(46.4207, 48.9692, 11.5634)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B73E #3E60D9
analogous
#D96A3E #D9B73E #ADD93E
triadic
#D9B73E #3ED9B7 #B73ED9
tetradic
#D9B73E #3ED96A #3E60D9 #D93EAD
square
#D9B73E #3ED96A #3E60D9 #D93EAD
split-complementary
#D9B73E #3EADD9 #6A3ED9
monochromatic
#836C1A #B69624 #D9B73E #E3CA71 #EDDDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B73E#FFFFFF#000000##000000
##D9B73E1.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)
#CBB42C
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#EAA89F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b73e;
/* rgb */ color: rgb(217, 183, 62);
/* oklch */ color: oklch(78.8% 0.140 92.9);
Tailwind
colors: {
  custom: {
    50: '#e9cc7b',
    500: '#d9b73e',
    950: '#000000',
  },
}
SCSS
$custom: #d9b73e;
$custom-light: #e9cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b73e",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 46.839,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78818,
    "c": 0.14,
    "h": 92.9
  },
  "luminance": 0.48966
}

Semantic roles & 50–950 ramp

primary
#D9B73E
secondary
#99A7DA
accent
#64EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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