#D8BA49#D8BA49

#D8BA49 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.134 H 94.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D8BA49
RGBrgb(216, 186, 73)
HSLhsl(47, 65%, 57%)
HSVhsv(47, 66%, 85%)
CMYKcmyk(0%, 13.9%, 66.2%, 15.3%)
CIE-LABlab(76.19, -1.76, 59.19)
CIE-LCHlch(76.19, 59.22, 91.70°)
OKLaboklab(79.42% -0.0097 0.1338)
OKLCHoklch(79.42% 0.134 94.2)
XYZxyz(47.0827, 50.2003, 13.5117)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA49 #4967D8
analogous
#D87349 #D8BA49 #AED849
triadic
#D8BA49 #49D8BA #BA49D8
tetradic
#D8BA49 #49D873 #4967D8 #D849AE
square
#D8BA49 #49D873 #4967D8 #D849AE
split-complementary
#D8BA49 #49AED8 #7349D8
monochromatic
#89731D #BC9D28 #D8BA49 #E3CD7B #EEE0AE

Accessibility & contrast

On white

1.90
#D8BA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#D8BA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA49
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA49#FFFFFF#000000##000000
##D8BA491.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73B
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#E9ACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba49;
/* rgb */ color: rgb(216, 186, 73);
/* oklch */ color: oklch(79.4% 0.134 94.2);
Tailwind
colors: {
  custom: {
    50: '#e8ce81',
    500: '#d8ba49',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba49;
$custom-light: #e8ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba49",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 47.413,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.13418,
    "h": 94.2
  },
  "luminance": 0.50198
}

Semantic roles & 50–950 ramp

primary
#D8BA49
secondary
#36498F
accent
#63E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BA49

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

Preview Lab → · Contrast checker → · Palette generator →

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