#D8B945#D8B945

#D8B945 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.136 H 93.9°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D8B945
RGBrgb(216, 185, 69)
HSLhsl(47, 65%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 14.4%, 68.1%, 15.3%)
CIE-LABlab(75.90, -1.46, 60.57)
CIE-LCHlch(75.90, 60.58, 91.38°)
OKLaboklab(79.18% -0.0094 0.1361)
OKLCHoklch(79.18% 0.136 93.9)
XYZxyz(46.7444, 49.7291, 12.7656)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B945 #4564D8
analogous
#D86F45 #D8B945 #ADD845
triadic
#D8B945 #45D8B9 #B945D8
tetradic
#D8B945 #45D86F #4564D8 #D845AD
square
#D8B945 #45D86F #4564D8 #D845AD
split-complementary
#D8B945 #45ADD8 #6F45D8
monochromatic
#86701C #B99A27 #D8B945 #E3CC78 #EDDFAA

Accessibility & contrast

On white

1.92
#D8B945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#D8B945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B945
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B945#FFFFFF#000000##000000
##D8B9451.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#E9ABA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b945;
/* rgb */ color: rgb(216, 185, 69);
/* oklch */ color: oklch(79.2% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#e8cd7f',
    500: '#d8b945',
    950: '#000000',
  },
}
SCSS
$custom: #d8b945;
$custom-light: #e8cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b945",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 47.347,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79184,
    "c": 0.1364,
    "h": 93.9
  },
  "luminance": 0.49727
}

Semantic roles & 50–950 ramp

primary
#D8B945
secondary
#9EABDB
accent
#63E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B945

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

Preview Lab → · Contrast checker → · Palette generator →

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