#D8B643#D8B643

#D8B643 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.136 H 92.3°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D8B643
RGBrgb(216, 182, 67)
HSLhsl(46, 66%, 55%)
HSVhsv(46, 69%, 85%)
CMYKcmyk(0%, 15.7%, 69%, 15.3%)
CIE-LABlab(75.12, 0.00, 60.58)
CIE-LCHlch(75.12, 60.58, 90.00°)
OKLaboklab(78.56% -0.0054 0.1358)
OKLCHoklch(78.56% 0.136 92.3)
XYZxyz(46.0624, 48.4627, 12.2372)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B643 #4365D8
analogous
#D86B43 #D8B643 #AFD843
triadic
#D8B643 #43D8B6 #B643D8
tetradic
#D8B643 #43D86B #4365D8 #D843AF
square
#D8B643 #43D86B #4365D8 #D843AF
split-complementary
#D8B643 #43AFD8 #6B43D8
monochromatic
#856D1C #B89626 #D8B643 #E3CA76 #EDDDA8

Accessibility & contrast

On white

1.96
#D8B643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D8B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B643
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B643#FFFFFF#000000##000000
##D8B6431.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B334
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#E9A89E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b643;
/* rgb */ color: rgb(216, 182, 67);
/* oklch */ color: oklch(78.6% 0.136 92.3);
Tailwind
colors: {
  custom: {
    50: '#e8cb7d',
    500: '#d8b643',
    950: '#000000',
  },
}
SCSS
$custom: #d8b643;
$custom-light: #e8cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b643",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 46.309,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78558,
    "c": 0.13588,
    "h": 92.3
  },
  "luminance": 0.4846
}

Semantic roles & 50–950 ramp

primary
#D8B643
secondary
#9CABDA
accent
#66E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B643

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

Preview Lab → · Contrast checker → · Palette generator →

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