#D8B53E#D8B53E

#D8B53E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.139 H 92.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D8B53E
RGBrgb(216, 181, 62)
HSLhsl(46, 66%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 16.2%, 71.3%, 15.3%)
CIE-LABlab(74.82, 0.27, 62.29)
CIE-LCHlch(74.82, 62.29, 89.75°)
OKLaboklab(78.32% -0.0052 0.1385)
OKLCHoklch(78.32% 0.139 92.1)
XYZxyz(45.7147, 47.9972, 11.4130)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B53E #3E61D8
analogous
#D8683E #D8B53E #AED83E
triadic
#D8B53E #3ED8B5 #B53ED8
tetradic
#D8B53E #3ED868 #3E61D8 #D83EAE
square
#D8B53E #3ED868 #3E61D8 #D83EAE
split-complementary
#D8B53E #3EAED8 #683ED8
monochromatic
#816A1A #B49424 #D8B53E #E2C971 #EDDCA4

Accessibility & contrast

On white

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

On black

10.60
#D8B53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B53E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B53E#FFFFFF#000000##000000
##D8B53E1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22D
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#E9A69D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b53e;
/* rgb */ color: rgb(216, 181, 62);
/* oklch */ color: oklch(78.3% 0.139 92.1);
Tailwind
colors: {
  custom: {
    50: '#e8ca7a',
    500: '#d8b53e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b53e;
$custom-light: #e8ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b53e",
  "rgb": {
    "r": 216,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 46.364,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78315,
    "c": 0.1386,
    "h": 92.1
  },
  "luminance": 0.47994
}

Semantic roles & 50–950 ramp

primary
#D8B53E
secondary
#98A7D9
accent
#65E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B53E

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

Preview Lab → · Contrast checker → · Palette generator →

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