#D9B43A#D9B43A

#D9B43A is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.141 H 91.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D9B43A
RGBrgb(217, 180, 58)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 73%, 85%)
CMYKcmyk(0%, 17.1%, 73.3%, 14.9%)
CIE-LABlab(74.64, 1.04, 63.68)
CIE-LCHlch(74.64, 63.69, 89.06°)
OKLaboklab(78.18% -0.0035 0.1407)
OKLCHoklch(78.18% 0.141 91.4)
XYZxyz(45.7028, 47.7025, 10.8024)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B43A #3A5FD9
analogous
#D9653A #D9B43A #AFD93A
triadic
#D9B43A #3AD9B4 #B43AD9
tetradic
#D9B43A #3AD965 #3A5FD9 #D93AAF
square
#D9B43A #3AD965 #3A5FD9 #D93AAF
split-complementary
#D9B43A #3AAFD9 #653AD9
monochromatic
#806819 #B39223 #D9B43A #E3C86D #EDDBA1

Accessibility & contrast

On white

1.99
#D9B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D9B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B43A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B43A#FFFFFF#000000##000000
##D9B43A1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B227
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b43a;
/* rgb */ color: rgb(217, 180, 58);
/* oklch */ color: oklch(78.2% 0.141 91.4);
Tailwind
colors: {
  custom: {
    50: '#e9ca78',
    500: '#d9b43a',
    950: '#000000',
  },
}
SCSS
$custom: #d9b43a;
$custom-light: #e9ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b43a",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 46.038,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78182,
    "c": 0.1407,
    "h": 91.4
  },
  "luminance": 0.477
}

Semantic roles & 50–950 ramp

primary
#D9B43A
secondary
#95A5D9
accent
#66EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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