#D8B64E#D8B64E

#D8B64E is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.7% C 0.128 H 91.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D8B64E
RGBrgb(216, 182, 78)
HSLhsl(45, 64%, 58%)
HSVhsv(45, 64%, 85%)
CMYKcmyk(0%, 15.7%, 63.9%, 15.3%)
CIE-LABlab(75.21, 0.64, 55.96)
CIE-LCHlch(75.21, 55.97, 89.35°)
OKLaboklab(78.66% -0.0022 0.1277)
OKLCHoklch(78.66% 0.128 91)
XYZxyz(46.4243, 48.6075, 14.1432)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B64E #4E70D8
analogous
#D8714E #D8B64E #B5D84E
triadic
#D8B64E #4ED8B6 #B64ED8
tetradic
#D8B64E #4ED871 #4E70D8 #D84EB5
square
#D8B64E #4ED871 #4E70D8 #D84EB5
split-complementary
#D8B64E #4EB5D8 #714ED8
monochromatic
#8D721F #BF9A2A #D8B64E #E3CB80 #EEDFB2

Accessibility & contrast

On white

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

On black

10.72
#D8B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B64E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B64E#FFFFFF#000000##000000
##D8B64E1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#E9A8A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b64e;
/* rgb */ color: rgb(216, 182, 78);
/* oklch */ color: oklch(78.7% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e7cb84',
    500: '#d8b64e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b64e;
$custom-light: #e7cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b64e",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 45.217,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78658,
    "c": 0.12776,
    "h": 91
  },
  "luminance": 0.48605
}

Semantic roles & 50–950 ramp

primary
#D8B64E
secondary
#A5B3DD
accent
#6AE741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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