#D8B544#D8B544

#D8B544 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.135 H 91.5°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D8B544
RGBrgb(216, 181, 68)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 69%, 85%)
CMYKcmyk(0%, 16.2%, 68.5%, 15.3%)
CIE-LABlab(74.87, 0.58, 59.91)
CIE-LCHlch(74.87, 59.91, 89.45°)
OKLaboklab(78.36% -0.0036 0.1345)
OKLCHoklch(78.36% 0.135 91.5)
XYZxyz(45.8886, 48.0667, 12.3285)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B544 #4467D8
analogous
#D86B44 #D8B544 #B1D844
triadic
#D8B544 #44D8B5 #B544D8
tetradic
#D8B544 #44D86B #4467D8 #D844B1
square
#D8B544 #44D86B #4467D8 #D844B1
split-complementary
#D8B544 #44B1D8 #6B44D8
monochromatic
#866D1C #B89626 #D8B544 #E3C977 #EDDDA9

Accessibility & contrast

On white

1.98
#D8B544 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D8B544 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B544
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B544#FFFFFF#000000##000000
##D8B5441.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B235
Deuteranopia (green-blind)
#D1BC4A
Tritanopia (blue-blind)
#E9A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b544;
/* rgb */ color: rgb(216, 181, 68);
/* oklch */ color: oklch(78.4% 0.135 91.5);
Tailwind
colors: {
  custom: {
    50: '#e8ca7e',
    500: '#d8b544',
    950: '#000000',
  },
}
SCSS
$custom: #d8b544;
$custom-light: #e8ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b544",
  "rgb": {
    "r": 216,
    "g": 181,
    "b": 68
  },
  "hsl": {
    "h": 45.811,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78364,
    "c": 0.13458,
    "h": 91.5
  },
  "luminance": 0.48064
}

Semantic roles & 50–950 ramp

primary
#D8B544
secondary
#9DACDB
accent
#67E83F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B544

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

Preview Lab → · Contrast checker → · Palette generator →

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