#D8BB5F#D8BB5F

#D8BB5F is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.9% C 0.117 H 92.1°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D8BB5F
RGBrgb(216, 187, 95)
HSLhsl(46, 61%, 61%)
HSVhsv(46, 56%, 85%)
CMYKcmyk(0%, 13.4%, 56%, 15.3%)
CIE-LABlab(76.66, -0.79, 49.74)
CIE-LCHlch(76.66, 49.74, 90.91°)
OKLaboklab(79.86% -0.0043 0.1165)
OKLCHoklch(79.86% 0.117 92.1)
XYZxyz(48.1568, 50.9681, 18.1255)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB5F #5F7CD8
analogous
#D87E5F #D8BB5F #B8D85F
triadic
#D8BB5F #5FD8BB #BB5FD8
tetradic
#D8BB5F #5FD87E #5F7CD8 #D85FB8
square
#D8BB5F #5FD87E #5F7CD8 #D85FB8
split-complementary
#D8BB5F #5FB8D8 #7E5FD8
monochromatic
#987C25 #C9A431 #D8BB5F #E4D090 #F0E5C1

Accessibility & contrast

On white

1.88
#D8BB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#D8BB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BB5F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BB5F#FFFFFF#000000##000000
##D8BB5F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#E8AEA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bb5f;
/* rgb */ color: rgb(216, 187, 95);
/* oklch */ color: oklch(79.9% 0.117 92.1);
Tailwind
colors: {
  custom: {
    50: '#e7cf8f',
    500: '#d8bb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb5f;
$custom-light: #e7cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb5f",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 45.62,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.7986,
    "c": 0.1166,
    "h": 92.1
  },
  "luminance": 0.50966
}

Semantic roles & 50–950 ramp

primary
#D8BB5F
secondary
#3F559C
accent
#46C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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