#D8BA5E#D8BA5E

#D8BA5E is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.6% C 0.117 H 91.5°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D8BA5E
RGBrgb(216, 186, 94)
HSLhsl(45, 61%, 61%)
HSVhsv(45, 56%, 85%)
CMYKcmyk(0%, 13.9%, 56.5%, 15.3%)
CIE-LABlab(76.39, -0.34, 49.90)
CIE-LCHlch(76.39, 49.90, 90.40°)
OKLaboklab(79.65% -0.0031 0.1168)
OKLCHoklch(79.65% 0.117 91.5)
XYZxyz(47.9002, 50.5273, 17.8172)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA5E #5E7CD8
analogous
#D87D5E #D8BA5E #B9D85E
triadic
#D8BA5E #5ED8BA #BA5ED8
tetradic
#D8BA5E #5ED87D #5E7CD8 #D85EB9
square
#D8BA5E #5ED87D #5E7CD8 #D85EB9
split-complementary
#D8BA5E #5EB9D8 #7D5ED8
monochromatic
#977B25 #C8A331 #D8BA5E #E4CF8F #F0E4C1

Accessibility & contrast

On white

1.89
#D8BA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D8BA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA5E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA5E#FFFFFF#000000##000000
##D8BA5E1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB755
Deuteranopia (green-blind)
#D3C062
Tritanopia (blue-blind)
#E8ADA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba5e;
/* rgb */ color: rgb(216, 186, 94);
/* oklch */ color: oklch(79.6% 0.117 91.5);
Tailwind
colors: {
  custom: {
    50: '#e7ce8e',
    500: '#d8ba5e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba5e;
$custom-light: #e7ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba5e",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 45.246,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79645,
    "c": 0.11681,
    "h": 91.5
  },
  "luminance": 0.50525
}

Semantic roles & 50–950 ramp

primary
#D8BA5E
secondary
#3F559C
accent
#47C91D
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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