#D8BF49#D8BF49

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

Color values

HEX#D8BF49
RGBrgb(216, 191, 73)
HSLhsl(50, 65%, 57%)
HSVhsv(50, 66%, 85%)
CMYKcmyk(0%, 11.6%, 66.2%, 15.3%)
CIE-LABlab(77.49, -4.36, 60.55)
CIE-LCHlch(77.49, 60.71, 94.12°)
OKLaboklab(80.45% -0.0172 0.1367)
OKLCHoklch(80.45% 0.138 97.2)
XYZxyz(48.1545, 52.3439, 13.8690)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF49 #4962D8
analogous
#D87749 #D8BF49 #AAD849
triadic
#D8BF49 #49D8BF #BF49D8
tetradic
#D8BF49 #49D877 #4962D8 #D849AA
square
#D8BF49 #49D877 #4962D8 #D849AA
split-complementary
#D8BF49 #49AAD8 #7749D8
monochromatic
#89761D #BCA228 #D8BF49 #E3D17B #EEE2AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BF49#FFFFFF#000000##000000
##D8BF491.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)
#D1BB3A
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#E8B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf49;
/* rgb */ color: rgb(216, 191, 73);
/* oklch */ color: oklch(80.4% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8d281',
    500: '#d8bf49',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf49;
$custom-light: #e8d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf49",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 49.51,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80446,
    "c": 0.13779,
    "h": 97.2
  },
  "luminance": 0.52342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8BF49

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

Preview Lab → · Contrast checker → · Palette generator →

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