#D8BF56#D8BF56

#D8BF56 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.128 H 96.0°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D8BF56
RGBrgb(216, 191, 86)
HSLhsl(48, 63%, 59%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 11.6%, 60.2%, 15.3%)
CIE-LABlab(77.60, -3.54, 55.01)
CIE-LCHlch(77.60, 55.12, 93.68°)
OKLaboklab(80.57% -0.0133 0.1268)
OKLCHoklch(80.57% 0.128 96)
XYZxyz(48.6315, 52.5347, 16.3809)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF56 #566FD8
analogous
#D87E56 #D8BF56 #B0D856
triadic
#D8BF56 #56D8BF #BF56D8
tetradic
#D8BF56 #56D87E #566FD8 #D856B0
square
#D8BF56 #56D87E #566FD8 #D856B0
split-complementary
#D8BF56 #56B0D8 #7E56D8
monochromatic
#927C22 #C4A72D #D8BF56 #E3D288 #EFE5B9

Accessibility & contrast

On white

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

On black

11.51
#D8BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF56
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF56#FFFFFF#000000##000000
##D8BF561.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#E8B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf56;
/* rgb */ color: rgb(216, 191, 86);
/* oklch */ color: oklch(80.6% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e7d289',
    500: '#d8bf56',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf56;
$custom-light: #e7d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf56",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 48.462,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80573,
    "c": 0.1275,
    "h": 96
  },
  "luminance": 0.52532
}

Semantic roles & 50–950 ramp

primary
#D8BF56
secondary
#3B4D97
accent
#62E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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