#D8B747#D8B747

#D8B747 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.134 H 92.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D8B747
RGBrgb(216, 183, 71)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 15.3%, 67.1%, 15.3%)
CIE-LABlab(75.40, -0.31, 59.21)
CIE-LCHlch(75.40, 59.21, 90.30°)
OKLaboklab(78.8% -0.0058 0.1336)
OKLCHoklch(78.8% 0.134 92.5)
XYZxyz(46.3921, 48.9234, 12.9596)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B747 #4768D8
analogous
#D86F47 #D8B747 #B1D847
triadic
#D8B747 #47D8B7 #B747D8
tetradic
#D8B747 #47D86F #4768D8 #D847B1
square
#D8B747 #47D86F #4768D8 #D847B1
split-complementary
#D8B747 #47B1D8 #6F47D8
monochromatic
#886F1D #BA9927 #D8B747 #E3CB79 #EDDFAC

Accessibility & contrast

On white

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

On black

10.78
#D8B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B747
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B747#FFFFFF#000000##000000
##D8B7471.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#E9A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b747;
/* rgb */ color: rgb(216, 183, 71);
/* oklch */ color: oklch(78.8% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e8cc80',
    500: '#d8b747',
    950: '#000000',
  },
}
SCSS
$custom: #d8b747;
$custom-light: #e8cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b747",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 46.345,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78795,
    "c": 0.13368,
    "h": 92.5
  },
  "luminance": 0.48921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8B747

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

Preview Lab → · Contrast checker → · Palette generator →

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