#D8B73E#D8B73E

#D8B73E is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.140 H 93.4°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D8B73E
RGBrgb(216, 183, 62)
HSLhsl(47, 66%, 55%)
HSVhsv(47, 71%, 85%)
CMYKcmyk(0%, 15.3%, 71.3%, 15.3%)
CIE-LABlab(75.34, -0.78, 62.80)
CIE-LCHlch(75.34, 62.81, 90.71°)
OKLaboklab(78.72% -0.0082 0.1396)
OKLCHoklch(78.72% 0.14 93.4)
XYZxyz(46.1243, 48.8163, 11.5495)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B73E #3E5FD8
analogous
#D86A3E #D8B73E #ACD83E
triadic
#D8B73E #3ED8B7 #B73ED8
tetradic
#D8B73E #3ED86A #3E5FD8 #D83EAC
square
#D8B73E #3ED86A #3E5FD8 #D83EAC
split-complementary
#D8B73E #3EACD8 #6A3ED8
monochromatic
#816B1A #B49624 #D8B73E #E2CA71 #EDDDA4

Accessibility & contrast

On white

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

On black

10.76
#D8B73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B73E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B73E#FFFFFF#000000##000000
##D8B73E1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8b73e;
/* rgb */ color: rgb(216, 183, 62);
/* oklch */ color: oklch(78.7% 0.140 93.4);
Tailwind
colors: {
  custom: {
    50: '#e8cc7b',
    500: '#d8b73e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b73e;
$custom-light: #e8cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b73e",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 47.143,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78721,
    "c": 0.13983,
    "h": 93.4
  },
  "luminance": 0.48814
}

Semantic roles & 50–950 ramp

primary
#D8B73E
secondary
#98A6D9
accent
#63E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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