#D8BF47#D8BF47

#D8BF47 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.139 H 97.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D8BF47
RGBrgb(216, 191, 71)
HSLhsl(50, 65%, 56%)
HSVhsv(50, 67%, 85%)
CMYKcmyk(0%, 11.6%, 67.1%, 15.3%)
CIE-LABlab(77.47, -4.47, 61.36)
CIE-LCHlch(77.47, 61.53, 94.17°)
OKLaboklab(80.43% -0.0177 0.1381)
OKLCHoklch(80.43% 0.139 97.3)
XYZxyz(48.0893, 52.3178, 13.5253)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF47 #4760D8
analogous
#D87747 #D8BF47 #A9D847
triadic
#D8BF47 #47D8BF #BF47D8
tetradic
#D8BF47 #47D877 #4760D8 #D847A9
square
#D8BF47 #47D877 #4760D8 #D847A9
split-complementary
#D8BF47 #47A9D8 #7747D8
monochromatic
#88751D #BAA127 #D8BF47 #E3D179 #EDE2AC

Accessibility & contrast

On white

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

On black

11.46
#D8BF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF47
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF47#FFFFFF#000000##000000
##D8BF471.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E9B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf47;
/* rgb */ color: rgb(216, 191, 71);
/* oklch */ color: oklch(80.4% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#e8d280',
    500: '#d8bf47',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf47;
$custom-light: #e8d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf47",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 49.655,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80429,
    "c": 0.13923,
    "h": 97.3
  },
  "luminance": 0.52315
}

Semantic roles & 50–950 ramp

primary
#D8BF47
secondary
#35448E
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF47

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

Preview Lab → · Contrast checker → · Palette generator →

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