#D8BE5F#D8BE5F

#D8BE5F is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.5% C 0.119 H 94.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D8BE5F
RGBrgb(216, 190, 95)
HSLhsl(47, 61%, 61%)
HSVhsv(47, 56%, 85%)
CMYKcmyk(0%, 12%, 56%, 15.3%)
CIE-LABlab(77.43, -2.36, 50.64)
CIE-LCHlch(77.43, 50.69, 92.66°)
OKLaboklab(80.47% -0.0088 0.1185)
OKLCHoklch(80.47% 0.119 94.3)
XYZxyz(48.7998, 52.2543, 18.3399)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE5F #5F79D8
analogous
#D8815F #D8BE5F #B6D85F
triadic
#D8BE5F #5FD8BE #BE5FD8
tetradic
#D8BE5F #5FD881 #5F79D8 #D85FB6
square
#D8BE5F #5FD881 #5F79D8 #D85FB6
split-complementary
#D8BE5F #5FB6D8 #815FD8
monochromatic
#987F25 #C9A831 #D8BE5F #E4D290 #F0E6C1

Accessibility & contrast

On white

1.83
#D8BE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D8BE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE5F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE5F#FFFFFF#000000##000000
##D8BE5F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#E7B1A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8be5f;
/* rgb */ color: rgb(216, 190, 95);
/* oklch */ color: oklch(80.5% 0.119 94.3);
Tailwind
colors: {
  custom: {
    50: '#e7d18f',
    500: '#d8be5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8be5f;
$custom-light: #e7d18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be5f",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 95
  },
  "hsl": {
    "h": 47.107,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8047,
    "c": 0.1188,
    "h": 94.3
  },
  "luminance": 0.52252
}

Semantic roles & 50–950 ramp

primary
#D8BE5F
secondary
#3F539C
accent
#42C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8BE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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