#D8B548#D8B548

#D8B548 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.132 H 91.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D8B548
RGBrgb(216, 181, 72)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 67%, 85%)
CMYKcmyk(0%, 16.2%, 66.7%, 15.3%)
CIE-LABlab(74.90, 0.80, 58.26)
CIE-LCHlch(74.90, 58.26, 89.21°)
OKLaboklab(78.4% -0.0025 0.1317)
OKLCHoklch(78.4% 0.132 91.1)
XYZxyz(46.0148, 48.1172, 12.9935)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B548 #486BD8
analogous
#D86D48 #D8B548 #B3D848
triadic
#D8B548 #48D8B5 #B548D8
tetradic
#D8B548 #48D86D #486BD8 #D848B3
square
#D8B548 #48D86D #486BD8 #D848B3
split-complementary
#D8B548 #48B3D8 #6D48D8
monochromatic
#896E1D #BB9728 #D8B548 #E3C97A #EEDEAD

Accessibility & contrast

On white

1.98
#D8B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D8B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B548
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B548#FFFFFF#000000##000000
##D8B5481.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33B
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#E9A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b548;
/* rgb */ color: rgb(216, 181, 72);
/* oklch */ color: oklch(78.4% 0.132 91.1);
Tailwind
colors: {
  custom: {
    50: '#e8ca80',
    500: '#d8b548',
    950: '#000000',
  },
}
SCSS
$custom: #d8b548;
$custom-light: #e8ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b548",
  "rgb": {
    "r": 216,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 45.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.13171,
    "h": 91.1
  },
  "luminance": 0.48115
}

Semantic roles & 50–950 ramp

primary
#D8B548
secondary
#A0AFDB
accent
#69E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D8B548

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

Preview Lab → · Contrast checker → · Palette generator →

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