#D8B74B#D8B74B

#D8B74B is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.131 H 92.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D8B74B
RGBrgb(216, 183, 75)
HSLhsl(46, 64%, 57%)
HSVhsv(46, 65%, 85%)
CMYKcmyk(0%, 15.3%, 65.3%, 15.3%)
CIE-LABlab(75.44, -0.07, 57.53)
CIE-LCHlch(75.44, 57.53, 90.07°)
OKLaboklab(78.83% -0.0047 0.1306)
OKLCHoklch(78.83% 0.131 92)
XYZxyz(46.5247, 48.9765, 13.6581)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B74B #4B6CD8
analogous
#D8704B #D8B74B #B3D84B
triadic
#D8B74B #4BD8B7 #B74BD8
tetradic
#D8B74B #4BD870 #4B6CD8 #D84BB3
square
#D8B74B #4BD870 #4B6CD8 #D84BB3
split-complementary
#D8B74B #4BB3D8 #704BD8
monochromatic
#8B711E #BD9A29 #D8B74B #E3CB7D #EEDFB0

Accessibility & contrast

On white

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

On black

10.79
#D8B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B74B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B74B#FFFFFF#000000##000000
##D8B74B1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43E
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#E9A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b74b;
/* rgb */ color: rgb(216, 183, 75);
/* oklch */ color: oklch(78.8% 0.131 92.0);
Tailwind
colors: {
  custom: {
    50: '#e8cc82',
    500: '#d8b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d8b74b;
$custom-light: #e8cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b74b",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 45.957,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78831,
    "c": 0.1307,
    "h": 92
  },
  "luminance": 0.48974
}

Semantic roles & 50–950 ramp

primary
#D8B74B
secondary
#A3B0DC
accent
#67E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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