#D8B63D#D8B63D

#D8B63D is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.140 H 92.8°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D8B63D
RGBrgb(216, 182, 61)
HSLhsl(47, 67%, 54%)
HSVhsv(47, 72%, 85%)
CMYKcmyk(0%, 15.7%, 71.8%, 15.3%)
CIE-LABlab(75.07, -0.30, 62.93)
CIE-LCHlch(75.07, 62.93, 90.27°)
OKLaboklab(78.51% -0.0069 0.1397)
OKLCHoklch(78.51% 0.14 92.8)
XYZxyz(45.8916, 48.3944, 11.3378)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B63D #3D5FD8
analogous
#D8693D #D8B63D #ACD83D
triadic
#D8B63D #3DD8B6 #B63DD8
tetradic
#D8B63D #3DD869 #3D5FD8 #D83DAC
square
#D8B63D #3DD869 #3D5FD8 #D83DAC
split-complementary
#D8B63D #3DACD8 #693DD8
monochromatic
#816A1A #B49424 #D8B63D #E2C970 #ECDCA3

Accessibility & contrast

On white

1.97
#D8B63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D8B63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B63D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B63D#FFFFFF#000000##000000
##D8B63D1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32B
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#E9A79E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b63d;
/* rgb */ color: rgb(216, 182, 61);
/* oklch */ color: oklch(78.5% 0.140 92.8);
Tailwind
colors: {
  custom: {
    50: '#e8cb7a',
    500: '#d8b63d',
    950: '#000000',
  },
}
SCSS
$custom: #d8b63d;
$custom-light: #e8cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b63d",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 61
  },
  "hsl": {
    "h": 46.839,
    "s": 66.524,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7851,
    "c": 0.13984,
    "h": 92.8
  },
  "luminance": 0.48392
}

Semantic roles & 50–950 ramp

primary
#D8B63D
secondary
#98A6D9
accent
#64E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B63D

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

Preview Lab → · Contrast checker → · Palette generator →

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