#D9B43D#D9B43D

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

Color values

HEX#D9B43D
RGBrgb(217, 180, 61)
HSLhsl(46, 67%, 55%)
HSVhsv(46, 72%, 85%)
CMYKcmyk(0%, 17.1%, 71.9%, 14.9%)
CIE-LABlab(74.66, 1.18, 62.55)
CIE-LCHlch(74.66, 62.56, 88.92°)
OKLaboklab(78.2% -0.0028 0.1388)
OKLCHoklch(78.2% 0.139 91.1)
XYZxyz(45.7814, 47.7339, 11.2162)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B43D #3D62D9
analogous
#D9663D #D9B43D #B0D93D
triadic
#D9B43D #3DD9B4 #B43DD9
tetradic
#D9B43D #3DD966 #3D62D9 #D93DB0
square
#D9B43D #3DD966 #3D62D9 #D93DB0
split-complementary
#D9B43D #3DB0D9 #663DD9
monochromatic
#826919 #B59324 #D9B43D #E3C870 #EDDCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B43D#FFFFFF#000000##000000
##D9B43D1.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)
#C8B22B
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b43d;
/* rgb */ color: rgb(217, 180, 61);
/* oklch */ color: oklch(78.2% 0.139 91.1);
Tailwind
colors: {
  custom: {
    50: '#e9ca7a',
    500: '#d9b43d',
    950: '#000000',
  },
}
SCSS
$custom: #d9b43d;
$custom-light: #e9ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b43d",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 45.769,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78204,
    "c": 0.13886,
    "h": 91.1
  },
  "luminance": 0.47731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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