#D9B43E#D9B43E

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

Color values

HEX#D9B43E
RGBrgb(217, 180, 62)
HSLhsl(46, 67%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 17.1%, 71.4%, 14.9%)
CIE-LABlab(74.66, 1.23, 62.16)
CIE-LCHlch(74.66, 62.18, 88.87°)
OKLaboklab(78.21% -0.0025 0.1382)
OKLCHoklch(78.21% 0.138 91)
XYZxyz(45.8086, 47.7448, 11.3594)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B43E #3E63D9
analogous
#D9663E #D9B43E #B1D93E
triadic
#D9B43E #3ED9B4 #B43ED9
tetradic
#D9B43E #3ED966 #3E63D9 #D93EB1
square
#D9B43E #3ED966 #3E63D9 #D93EB1
split-complementary
#D9B43E #3EB1D9 #663ED9
monochromatic
#836A1A #B69324 #D9B43E #E3C871 #EDDCA4

Accessibility & contrast

On white

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

On black

10.55
#D9B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B43E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B43E#FFFFFF#000000##000000
##D9B43E1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b43e;
/* rgb */ color: rgb(217, 180, 62);
/* oklch */ color: oklch(78.2% 0.138 91.0);
Tailwind
colors: {
  custom: {
    50: '#e9ca7a',
    500: '#d9b43e',
    950: '#000000',
  },
}
SCSS
$custom: #d9b43e;
$custom-light: #e9ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b43e",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 45.677,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78211,
    "c": 0.13822,
    "h": 91
  },
  "luminance": 0.47742
}

Semantic roles & 50–950 ramp

primary
#D9B43E
secondary
#99A8DA
accent
#67EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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