#D8B745#D8B745

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

Color values

HEX#D8B745
RGBrgb(216, 183, 69)
HSLhsl(47, 65%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 15.3%, 68.1%, 15.3%)
CIE-LABlab(75.39, -0.42, 60.03)
CIE-LCHlch(75.39, 60.04, 90.40°)
OKLaboklab(78.78% -0.0064 0.135)
OKLCHoklch(78.78% 0.135 92.7)
XYZxyz(46.3289, 48.8982, 12.6271)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B745 #4566D8
analogous
#D86D45 #D8B745 #AFD845
triadic
#D8B745 #45D8B7 #B745D8
tetradic
#D8B745 #45D86D #4566D8 #D845AF
square
#D8B745 #45D86D #4566D8 #D845AF
split-complementary
#D8B745 #45AFD8 #6D45D8
monochromatic
#866F1C #B99827 #D8B745 #E3CB78 #EDDEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B745#FFFFFF#000000##000000
##D8B7451.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)
#CAB436
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#E9A99F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b745;
/* rgb */ color: rgb(216, 183, 69);
/* oklch */ color: oklch(78.8% 0.135 92.7);
Tailwind
colors: {
  custom: {
    50: '#e8cc7e',
    500: '#d8b745',
    950: '#000000',
  },
}
SCSS
$custom: #d8b745;
$custom-light: #e8cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b745",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 46.531,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78777,
    "c": 0.13511,
    "h": 92.7
  },
  "luminance": 0.48896
}

Semantic roles & 50–950 ramp

primary
#D8B745
secondary
#9EACDB
accent
#65E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B745

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

Preview Lab → · Contrast checker → · Palette generator →

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