#D8B94F#D8B94F

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

Color values

HEX#D8B94F
RGBrgb(216, 185, 79)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.4%, 63.4%, 15.3%)
CIE-LABlab(75.99, -0.87, 56.37)
CIE-LCHlch(75.99, 56.38, 90.89°)
OKLaboklab(79.28% -0.0065 0.1288)
OKLCHoklch(79.28% 0.129 92.9)
XYZxyz(47.0814, 49.8639, 14.5404)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B94F #4F6ED8
analogous
#D8744F #D8B94F #B3D84F
triadic
#D8B94F #4FD8B9 #B94FD8
tetradic
#D8B94F #4FD874 #4F6ED8 #D84FB3
square
#D8B94F #4FD874 #4F6ED8 #D84FB3
split-complementary
#D8B94F #4FB3D8 #744FD8
monochromatic
#8D741F #BF9E2A #D8B94F #E3CD81 #EEE1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B94F#FFFFFF#000000##000000
##D8B94F1.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)
#CBB643
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E9ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b94f;
/* rgb */ color: rgb(216, 185, 79);
/* oklch */ color: oklch(79.3% 0.129 92.9);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d8b94f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b94f;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b94f",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 46.423,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79276,
    "c": 0.12891,
    "h": 92.9
  },
  "luminance": 0.49861
}

Semantic roles & 50–950 ramp

primary
#D8B94F
secondary
#A6B2DD
accent
#67E741
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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