#D8B647#D8B647

#D8B647 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.133 H 91.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D8B647
RGBrgb(216, 182, 71)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 15.7%, 67.1%, 15.3%)
CIE-LABlab(75.15, 0.22, 58.94)
CIE-LCHlch(75.15, 58.94, 89.79°)
OKLaboklab(78.59% -0.0043 0.133)
OKLCHoklch(78.59% 0.133 91.9)
XYZxyz(46.1865, 48.5124, 12.8911)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B647 #4769D8
analogous
#D86E47 #D8B647 #B2D847
triadic
#D8B647 #47D8B6 #B647D8
tetradic
#D8B647 #47D86E #4769D8 #D847B2
square
#D8B647 #47D86E #4769D8 #D847B2
split-complementary
#D8B647 #47B2D8 #6E47D8
monochromatic
#886F1D #BA9827 #D8B647 #E3CA79 #EDDEAC

Accessibility & contrast

On white

1.96
#D8B647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D8B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B647
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B647#FFFFFF#000000##000000
##D8B6471.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#E9A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b647;
/* rgb */ color: rgb(216, 182, 71);
/* oklch */ color: oklch(78.6% 0.133 91.9);
Tailwind
colors: {
  custom: {
    50: '#e8cb80',
    500: '#d8b647',
    950: '#000000',
  },
}
SCSS
$custom: #d8b647;
$custom-light: #e8cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b647",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 45.931,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.13305,
    "h": 91.9
  },
  "luminance": 0.4851
}

Semantic roles & 50–950 ramp

primary
#D8B647
secondary
#A0AEDB
accent
#67E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B647

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

Preview Lab → · Contrast checker → · Palette generator →

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