#D8BF5A#D8BF5A

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

Color values

HEX#D8BF5A
RGBrgb(216, 191, 90)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 58%, 85%)
CMYKcmyk(0%, 11.6%, 58.3%, 15.3%)
CIE-LABlab(77.64, -3.25, 53.22)
CIE-LCHlch(77.64, 53.32, 93.50°)
OKLaboklab(80.62% -0.012 0.1235)
OKLCHoklch(80.62% 0.124 95.6)
XYZxyz(48.7972, 52.6010, 17.2536)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF5A #5A73D8
analogous
#D8805A #D8BF5A #B2D85A
triadic
#D8BF5A #5AD8BF #BF5AD8
tetradic
#D8BF5A #5AD880 #5A73D8 #D85AB2
square
#D8BF5A #5AD880 #5A73D8 #D85AB2
split-complementary
#D8BF5A #5AB2D8 #805AD8
monochromatic
#957E23 #C6A82F #D8BF5A #E4D28B #EFE5BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BF5A#FFFFFF#000000##000000
##D8BF5A1.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)
#D0BB50
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#E8B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf5a;
/* rgb */ color: rgb(216, 191, 90);
/* oklch */ color: oklch(80.6% 0.124 95.6);
Tailwind
colors: {
  custom: {
    50: '#e7d28c',
    500: '#d8bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf5a;
$custom-light: #e7d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf5a",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 48.095,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.12405,
    "h": 95.6
  },
  "luminance": 0.52599
}

Semantic roles & 50–950 ramp

primary
#D8BF5A
secondary
#3D4F99
accent
#63E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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