#D8B847#D8B847

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

Color values

HEX#D8B847
RGBrgb(216, 184, 71)
HSLhsl(47, 65%, 56%)
HSVhsv(47, 67%, 85%)
CMYKcmyk(0%, 14.8%, 67.1%, 15.3%)
CIE-LABlab(75.66, -0.83, 59.48)
CIE-LCHlch(75.66, 59.49, 90.80°)
OKLaboklab(79% -0.0073 0.1341)
OKLCHoklch(79% 0.134 93.1)
XYZxyz(46.5991, 49.3374, 13.0286)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B847 #4767D8
analogous
#D87047 #D8B847 #AFD847
triadic
#D8B847 #47D8B8 #B847D8
tetradic
#D8B847 #47D870 #4767D8 #D847AF
square
#D8B847 #47D870 #4767D8 #D847AF
split-complementary
#D8B847 #47AFD8 #7047D8
monochromatic
#88701D #BA9A27 #D8B847 #E3CB79 #EDDFAC

Accessibility & contrast

On white

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

On black

10.87
#D8B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B847
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B847#FFFFFF#000000##000000
##D8B8471.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8b847;
/* rgb */ color: rgb(216, 184, 71);
/* oklch */ color: oklch(79.0% 0.134 93.1);
Tailwind
colors: {
  custom: {
    50: '#e8cd80',
    500: '#d8b847',
    950: '#000000',
  },
}
SCSS
$custom: #d8b847;
$custom-light: #e8cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b847",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 46.759,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78998,
    "c": 0.13432,
    "h": 93.1
  },
  "luminance": 0.49335
}

Semantic roles & 50–950 ramp

primary
#D8B847
secondary
#A0ADDB
accent
#65E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B847

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

Preview Lab → · Contrast checker → · Palette generator →

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