#D8BB5E#D8BB5E

#D8BB5E is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.118 H 92.3°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D8BB5E
RGBrgb(216, 187, 94)
HSLhsl(46, 61%, 61%)
HSVhsv(46, 56%, 85%)
CMYKcmyk(0%, 13.4%, 56.5%, 15.3%)
CIE-LABlab(76.65, -0.87, 50.20)
CIE-LCHlch(76.65, 50.21, 90.99°)
OKLaboklab(79.85% -0.0047 0.1174)
OKLCHoklch(79.85% 0.118 92.3)
XYZxyz(48.1116, 50.9501, 17.8877)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB5E #5E7BD8
analogous
#D87E5E #D8BB5E #B8D85E
triadic
#D8BB5E #5ED8BB #BB5ED8
tetradic
#D8BB5E #5ED87E #5E7BD8 #D85EB8
square
#D8BB5E #5ED87E #5E7BD8 #D85EB8
split-complementary
#D8BB5E #5EB8D8 #7E5ED8
monochromatic
#977C25 #C8A431 #D8BB5E #E4D08F #F0E5C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BB5E#FFFFFF#000000##000000
##D8BB5E1.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)
#CCB855
Deuteranopia (green-blind)
#D3C162
Tritanopia (blue-blind)
#E8AEA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d8bb5e;
/* rgb */ color: rgb(216, 187, 94);
/* oklch */ color: oklch(79.8% 0.118 92.3);
Tailwind
colors: {
  custom: {
    50: '#e7cf8e',
    500: '#d8bb5e',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb5e;
$custom-light: #e7cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb5e",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 94
  },
  "hsl": {
    "h": 45.738,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79847,
    "c": 0.11751,
    "h": 92.3
  },
  "luminance": 0.50948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8BB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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