#D8B849#D8B849

#D8B849 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.133 H 92.9°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D8B849
RGBrgb(216, 184, 73)
HSLhsl(47, 65%, 57%)
HSVhsv(47, 66%, 85%)
CMYKcmyk(0%, 14.8%, 66.2%, 15.3%)
CIE-LABlab(75.68, -0.71, 58.65)
CIE-LCHlch(75.68, 58.65, 90.70°)
OKLaboklab(79.02% -0.0067 0.1327)
OKLCHoklch(79.02% 0.133 92.9)
XYZxyz(46.6643, 49.3635, 13.3722)
Luminance0.4936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B849 #4969D8
analogous
#D87149 #D8B849 #B1D849
triadic
#D8B849 #49D8B8 #B849D8
tetradic
#D8B849 #49D871 #4969D8 #D849B1
square
#D8B849 #49D871 #4969D8 #D849B1
split-complementary
#D8B849 #49B1D8 #7149D8
monochromatic
#89711D #BC9B28 #D8B849 #E3CC7B #EEDFAE

Accessibility & contrast

On white

1.93
#D8B849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#D8B849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B849
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B849#FFFFFF#000000##000000
##D8B8491.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53B
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#E9AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b849;
/* rgb */ color: rgb(216, 184, 73);
/* oklch */ color: oklch(79.0% 0.133 92.9);
Tailwind
colors: {
  custom: {
    50: '#e8cd81',
    500: '#d8b849',
    950: '#000000',
  },
}
SCSS
$custom: #d8b849;
$custom-light: #e8cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b849",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 46.573,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79016,
    "c": 0.13285,
    "h": 92.9
  },
  "luminance": 0.49361
}

Semantic roles & 50–950 ramp

primary
#D8B849
secondary
#A1AEDC
accent
#66E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B849

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

Preview Lab → · Contrast checker → · Palette generator →

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