#D8BF5B#D8BF5B

#D8BF5B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.123 H 95.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D8BF5B
RGBrgb(216, 191, 91)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 58%, 85%)
CMYKcmyk(0%, 11.6%, 57.9%, 15.3%)
CIE-LABlab(77.65, -3.18, 52.77)
CIE-LCHlch(77.65, 52.86, 93.45°)
OKLaboklab(80.63% -0.0117 0.1226)
OKLCHoklch(80.63% 0.123 95.4)
XYZxyz(48.8400, 52.6181, 17.4792)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF5B #5B74D8
analogous
#D8805B #D8BF5B #B2D85B
triadic
#D8BF5B #5BD8BF #BF5BD8
tetradic
#D8BF5B #5BD880 #5B74D8 #D85BB2
square
#D8BF5B #5BD880 #5B74D8 #D85BB2
split-complementary
#D8BF5B #5BB2D8 #805BD8
monochromatic
#957E23 #C7A82F #D8BF5B #E4D28C #F0E6BE

Accessibility & contrast

On white

1.82
#D8BF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D8BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF5B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF5B#FFFFFF#000000##000000
##D8BF5B1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB51
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#E8B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf5b;
/* rgb */ color: rgb(216, 191, 91);
/* oklch */ color: oklch(80.6% 0.123 95.4);
Tailwind
colors: {
  custom: {
    50: '#e7d28c',
    500: '#d8bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf5b;
$custom-light: #e7d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf5b",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 48,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.12318,
    "h": 95.4
  },
  "luminance": 0.52616
}

Semantic roles & 50–950 ramp

primary
#D8BF5B
secondary
#3D509A
accent
#3FC91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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