#D8B95B#D8B95B

#D8B95B is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.119 H 91.3°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D8B95B
RGBrgb(216, 185, 91)
HSLhsl(45, 62%, 60%)
HSVhsv(45, 58%, 85%)
CMYKcmyk(0%, 14.4%, 57.9%, 15.3%)
CIE-LABlab(76.10, -0.05, 50.99)
CIE-LCHlch(76.10, 50.99, 90.05°)
OKLaboklab(79.41% -0.0026 0.1188)
OKLCHoklch(79.41% 0.119 91.3)
XYZxyz(47.5583, 50.0546, 17.0520)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B95B #5B7AD8
analogous
#D87A5B #D8B95B #B8D85B
triadic
#D8B95B #5BD8B9 #B95BD8
tetradic
#D8B95B #5BD87A #5B7AD8 #D85BB8
square
#D8B95B #5BD87A #5B7AD8 #D85BB8
split-complementary
#D8B95B #5BB8D8 #7A5BD8
monochromatic
#957923 #C7A12F #D8B95B #E4CE8C #F0E3BE

Accessibility & contrast

On white

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

On black

11.01
#D8B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B95B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B95B#FFFFFF#000000##000000
##D8B95B1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#D2BF5F
Tritanopia (blue-blind)
#E8ACA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8b95b;
/* rgb */ color: rgb(216, 185, 91);
/* oklch */ color: oklch(79.4% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#e7cd8c',
    500: '#d8b95b',
    950: '#000000',
  },
}
SCSS
$custom: #d8b95b;
$custom-light: #e7cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b95b",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 45.12,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79406,
    "c": 0.11883,
    "h": 91.3
  },
  "luminance": 0.50052
}

Semantic roles & 50–950 ramp

primary
#D8B95B
secondary
#3D549A
accent
#47C91C
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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