#D8BF48#D8BF48

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

Color values

HEX#D8BF48
RGBrgb(216, 191, 72)
HSLhsl(50, 65%, 56%)
HSVhsv(50, 67%, 85%)
CMYKcmyk(0%, 11.6%, 66.7%, 15.3%)
CIE-LABlab(77.48, -4.42, 60.96)
CIE-LCHlch(77.48, 61.12, 94.14°)
OKLaboklab(80.44% -0.0175 0.1374)
OKLCHoklch(80.44% 0.139 97.2)
XYZxyz(48.1216, 52.3308, 13.6958)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF48 #4861D8
analogous
#D87748 #D8BF48 #A9D848
triadic
#D8BF48 #48D8BF #BF48D8
tetradic
#D8BF48 #48D877 #4861D8 #D848A9
square
#D8BF48 #48D877 #4861D8 #D848A9
split-complementary
#D8BF48 #48A9D8 #7748D8
monochromatic
#89761D #BBA128 #D8BF48 #E3D17A #EEE2AD

Accessibility & contrast

On white

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

On black

11.47
#D8BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF48
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF48#FFFFFF#000000##000000
##D8BF481.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bf48;
/* rgb */ color: rgb(216, 191, 72);
/* oklch */ color: oklch(80.4% 0.139 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8d281',
    500: '#d8bf48',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf48;
$custom-light: #e8d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf48",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 49.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80438,
    "c": 0.13852,
    "h": 97.2
  },
  "luminance": 0.52328
}

Semantic roles & 50–950 ramp

primary
#D8BF48
secondary
#36458F
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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