#D8B43E#D8B43E

#D8B43E is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.1% C 0.138 H 91.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D8B43E
RGBrgb(216, 180, 62)
HSLhsl(46, 66%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 16.7%, 71.3%, 15.3%)
CIE-LABlab(74.57, 0.80, 62.04)
CIE-LCHlch(74.57, 62.04, 89.26°)
OKLaboklab(78.11% -0.0037 0.138)
OKLCHoklch(78.11% 0.138 91.5)
XYZxyz(45.5121, 47.5920, 11.3455)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B43E #3E62D8
analogous
#D8673E #D8B43E #AFD83E
triadic
#D8B43E #3ED8B4 #B43ED8
tetradic
#D8B43E #3ED867 #3E62D8 #D83EAF
square
#D8B43E #3ED867 #3E62D8 #D83EAF
split-complementary
#D8B43E #3EAFD8 #673ED8
monochromatic
#81691A #B49324 #D8B43E #E2C871 #EDDCA4

Accessibility & contrast

On white

2.00
#D8B43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D8B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B43E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B43E#FFFFFF#000000##000000
##D8B43E1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B12D
Deuteranopia (green-blind)
#D0BC44
Tritanopia (blue-blind)
#E9A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8b43e;
/* rgb */ color: rgb(216, 180, 62);
/* oklch */ color: oklch(78.1% 0.138 91.5);
Tailwind
colors: {
  custom: {
    50: '#e8ca7a',
    500: '#d8b43e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b43e;
$custom-light: #e8ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b43e",
  "rgb": {
    "r": 216,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 45.974,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78113,
    "c": 0.13801,
    "h": 91.5
  },
  "luminance": 0.47589
}

Semantic roles & 50–950 ramp

primary
#D8B43E
secondary
#98A8D9
accent
#66E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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