#D8B94E#D8B94E

#D8B94E is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.3% C 0.130 H 93.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D8B94E
RGBrgb(216, 185, 78)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 14.4%, 63.9%, 15.3%)
CIE-LABlab(75.98, -0.94, 56.80)
CIE-LCHlch(75.98, 56.81, 90.95°)
OKLaboklab(79.27% -0.0068 0.1295)
OKLCHoklch(79.27% 0.13 93)
XYZxyz(47.0452, 49.8494, 14.3502)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B94E #4E6DD8
analogous
#D8744E #D8B94E #B2D84E
triadic
#D8B94E #4ED8B9 #B94ED8
tetradic
#D8B94E #4ED874 #4E6DD8 #D84EB2
square
#D8B94E #4ED874 #4E6DD8 #D84EB2
split-complementary
#D8B94E #4EB2D8 #744ED8
monochromatic
#8D741F #BF9D2A #D8B94E #E3CD80 #EEE1B2

Accessibility & contrast

On white

1.91
#D8B94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#D8B94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B94E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B94E#FFFFFF#000000##000000
##D8B94E1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#D3BF53
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b94e;
/* rgb */ color: rgb(216, 185, 78);
/* oklch */ color: oklch(79.3% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#e7cd84',
    500: '#d8b94e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b94e;
$custom-light: #e7cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b94e",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 46.522,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79266,
    "c": 0.1297,
    "h": 93
  },
  "luminance": 0.49847
}

Semantic roles & 50–950 ramp

primary
#D8B94E
secondary
#A5B2DD
accent
#66E741
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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