#D8B843#D8B843

#D8B843 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.137 H 93.5°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#D8B843
RGBrgb(216, 184, 67)
HSLhsl(47, 66%, 55%)
HSVhsv(47, 69%, 85%)
CMYKcmyk(0%, 14.8%, 69%, 15.3%)
CIE-LABlab(75.63, -1.05, 61.11)
CIE-LCHlch(75.63, 61.11, 90.98°)
OKLaboklab(78.96% -0.0084 0.1369)
OKLCHoklch(78.96% 0.137 93.5)
XYZxyz(46.4749, 49.2877, 12.3747)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B843 #4363D8
analogous
#D86D43 #D8B843 #ADD843
triadic
#D8B843 #43D8B8 #B843D8
tetradic
#D8B843 #43D86D #4363D8 #D843AD
square
#D8B843 #43D86D #4363D8 #D843AD
split-complementary
#D8B843 #43ADD8 #6D43D8
monochromatic
#856E1C #B89826 #D8B843 #E3CB76 #EDDEA8

Accessibility & contrast

On white

1.93
#D8B843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#D8B843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B843
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B843#FFFFFF#000000##000000
##D8B8431.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB533
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#E9AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b843;
/* rgb */ color: rgb(216, 184, 67);
/* oklch */ color: oklch(79.0% 0.137 93.5);
Tailwind
colors: {
  custom: {
    50: '#e8cd7d',
    500: '#d8b843',
    950: '#000000',
  },
}
SCSS
$custom: #d8b843;
$custom-light: #e8cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b843",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 47.114,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78964,
    "c": 0.13714,
    "h": 93.5
  },
  "luminance": 0.49285
}

Semantic roles & 50–950 ramp

primary
#D8B843
secondary
#9CAADA
accent
#64E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B843

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

Preview Lab → · Contrast checker → · Palette generator →

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