#D8BF57#D8BF57

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

Color values

HEX#D8BF57
RGBrgb(216, 191, 87)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 11.6%, 59.7%, 15.3%)
CIE-LABlab(77.61, -3.47, 54.56)
CIE-LCHlch(77.61, 54.67, 93.63°)
OKLaboklab(80.58% -0.013 0.126)
OKLCHoklch(80.58% 0.127 95.9)
XYZxyz(48.6720, 52.5509, 16.5946)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF57 #5770D8
analogous
#D87F57 #D8BF57 #B1D857
triadic
#D8BF57 #57D8BF #BF57D8
tetradic
#D8BF57 #57D87F #5770D8 #D857B1
square
#D8BF57 #57D87F #5770D8 #D857B1
split-complementary
#D8BF57 #57B1D8 #7F57D8
monochromatic
#937D22 #C4A72E #D8BF57 #E4D289 #EFE5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BF57#FFFFFF#000000##000000
##D8BF571.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bf57;
/* rgb */ color: rgb(216, 191, 87);
/* oklch */ color: oklch(80.6% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#e7d28a',
    500: '#d8bf57',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf57;
$custom-light: #e7d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf57",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 48.372,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80583,
    "c": 0.12665,
    "h": 95.9
  },
  "luminance": 0.52549
}

Semantic roles & 50–950 ramp

primary
#D8BF57
secondary
#3C4D98
accent
#62E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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