#D8BD5F#D8BD5F

#D8BD5F is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.3% C 0.118 H 93.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D8BD5F
RGBrgb(216, 189, 95)
HSLhsl(47, 61%, 61%)
HSVhsv(47, 56%, 85%)
CMYKcmyk(0%, 12.5%, 56%, 15.3%)
CIE-LABlab(77.17, -1.83, 50.34)
CIE-LCHlch(77.17, 50.37, 92.09°)
OKLaboklab(80.27% -0.0073 0.1178)
OKLCHoklch(80.27% 0.118 93.6)
XYZxyz(48.5840, 51.8226, 18.2679)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD5F #5F7AD8
analogous
#D8805F #D8BD5F #B6D85F
triadic
#D8BD5F #5FD8BD #BD5FD8
tetradic
#D8BD5F #5FD880 #5F7AD8 #D85FB6
square
#D8BD5F #5FD880 #5F7AD8 #D85FB6
split-complementary
#D8BD5F #5FB6D8 #805FD8
monochromatic
#987E25 #C9A731 #D8BD5F #E4D190 #F0E6C1

Accessibility & contrast

On white

1.85
#D8BD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D8BD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD5F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD5F#FFFFFF#000000##000000
##D8BD5F1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#E7B0A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bd5f;
/* rgb */ color: rgb(216, 189, 95);
/* oklch */ color: oklch(80.3% 0.118 93.6);
Tailwind
colors: {
  custom: {
    50: '#e7d08f',
    500: '#d8bd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd5f;
$custom-light: #e7d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd5f",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 46.612,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80266,
    "c": 0.11805,
    "h": 93.6
  },
  "luminance": 0.5182
}

Semantic roles & 50–950 ramp

primary
#D8BD5F
secondary
#3F549C
accent
#43C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8BD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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