#D9B43C#D9B43C

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

Color values

HEX#D9B43C
RGBrgb(217, 180, 60)
HSLhsl(46, 67%, 54%)
HSVhsv(46, 72%, 85%)
CMYKcmyk(0%, 17.1%, 72.4%, 14.9%)
CIE-LABlab(74.65, 1.13, 62.93)
CIE-LCHlch(74.65, 62.94, 88.97°)
OKLaboklab(78.2% -0.003 0.1395)
OKLCHoklch(78.2% 0.139 91.2)
XYZxyz(45.7547, 47.7232, 11.0756)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B43C #3C61D9
analogous
#D9663C #D9B43C #B0D93C
triadic
#D9B43C #3CD9B4 #B43CD9
tetradic
#D9B43C #3CD966 #3C61D9 #D93CB0
square
#D9B43C #3CD966 #3C61D9 #D93CB0
split-complementary
#D9B43C #3CB0D9 #663CD9
monochromatic
#816919 #B59223 #D9B43C #E3C86F #EDDBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B43C#FFFFFF#000000##000000
##D9B43C1.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)
#C8B22A
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b43c;
/* rgb */ color: rgb(217, 180, 60);
/* oklch */ color: oklch(78.2% 0.139 91.2);
Tailwind
colors: {
  custom: {
    50: '#e9ca79',
    500: '#d9b43c',
    950: '#000000',
  },
}
SCSS
$custom: #d9b43c;
$custom-light: #e9ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b43c",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 45.86,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78196,
    "c": 0.13948,
    "h": 91.2
  },
  "luminance": 0.4772
}

Semantic roles & 50–950 ramp

primary
#D9B43C
secondary
#97A7DA
accent
#66EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B43C

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

Preview Lab → · Contrast checker → · Palette generator →

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