#D8B543#D8B543

#D8B543 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.135 H 91.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D8B543
RGBrgb(216, 181, 67)
HSLhsl(46, 66%, 55%)
HSVhsv(46, 69%, 85%)
CMYKcmyk(0%, 16.2%, 69%, 15.3%)
CIE-LABlab(74.86, 0.52, 60.32)
CIE-LCHlch(74.86, 60.32, 89.50°)
OKLaboklab(78.35% -0.0039 0.1352)
OKLCHoklch(78.35% 0.135 91.6)
XYZxyz(45.8583, 48.0546, 12.1691)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B543 #4366D8
analogous
#D86A43 #D8B543 #B0D843
triadic
#D8B543 #43D8B5 #B543D8
tetradic
#D8B543 #43D86A #4366D8 #D843B0
square
#D8B543 #43D86A #4366D8 #D843B0
split-complementary
#D8B543 #43B0D8 #6A43D8
monochromatic
#856C1C #B89526 #D8B543 #E3C976 #EDDDA8

Accessibility & contrast

On white

1.98
#D8B543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D8B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B543
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B543#FFFFFF#000000##000000
##D8B5431.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B234
Deuteranopia (green-blind)
#D1BC49
Tritanopia (blue-blind)
#E9A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b543;
/* rgb */ color: rgb(216, 181, 67);
/* oklch */ color: oklch(78.4% 0.135 91.6);
Tailwind
colors: {
  custom: {
    50: '#e8ca7d',
    500: '#d8b543',
    950: '#000000',
  },
}
SCSS
$custom: #d8b543;
$custom-light: #e8ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b543",
  "rgb": {
    "r": 216,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 45.906,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78355,
    "c": 0.13527,
    "h": 91.6
  },
  "luminance": 0.48052
}

Semantic roles & 50–950 ramp

primary
#D8B543
secondary
#9CABDA
accent
#67E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B543

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

Preview Lab → · Contrast checker → · Palette generator →

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