#D8B748#D8B748

#D8B748 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.133 H 92.4°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D8B748
RGBrgb(216, 183, 72)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 15.3%, 66.7%, 15.3%)
CIE-LABlab(75.41, -0.25, 58.80)
CIE-LCHlch(75.41, 58.80, 90.24°)
OKLaboklab(78.8% -0.0055 0.1328)
OKLCHoklch(78.8% 0.133 92.4)
XYZxyz(46.4244, 48.9364, 13.1300)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B748 #4869D8
analogous
#D86F48 #D8B748 #B1D848
triadic
#D8B748 #48D8B7 #B748D8
tetradic
#D8B748 #48D86F #4869D8 #D848B1
square
#D8B748 #48D86F #4869D8 #D848B1
split-complementary
#D8B748 #48B1D8 #6F48D8
monochromatic
#89701D #BB9928 #D8B748 #E3CB7A #EEDFAD

Accessibility & contrast

On white

1.95
#D8B748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D8B748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B748
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B748#FFFFFF#000000##000000
##D8B7481.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#E9A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b748;
/* rgb */ color: rgb(216, 183, 72);
/* oklch */ color: oklch(78.8% 0.133 92.4);
Tailwind
colors: {
  custom: {
    50: '#e8cc80',
    500: '#d8b748',
    950: '#000000',
  },
}
SCSS
$custom: #d8b748;
$custom-light: #e8cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b748",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 46.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78804,
    "c": 0.13295,
    "h": 92.4
  },
  "luminance": 0.48934
}

Semantic roles & 50–950 ramp

primary
#D8B748
secondary
#A0AEDB
accent
#66E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D8B748

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

Preview Lab → · Contrast checker → · Palette generator →

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