#D9B43F#D9B43F

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

Color values

HEX#D9B43F
RGBrgb(217, 180, 63)
HSLhsl(46, 67%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 17.1%, 71%, 14.9%)
CIE-LABlab(74.67, 1.27, 61.78)
CIE-LCHlch(74.67, 61.79, 88.82°)
OKLaboklab(78.22% -0.0023 0.1376)
OKLCHoklch(78.22% 0.138 90.9)
XYZxyz(45.8362, 47.7559, 11.5052)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B43F #3F64D9
analogous
#D9673F #D9B43F #B1D93F
triadic
#D9B43F #3FD9B4 #B43FD9
tetradic
#D9B43F #3FD967 #3F64D9 #D93FB1
square
#D9B43F #3FD967 #3F64D9 #D93FB1
split-complementary
#D9B43F #3FB1D9 #673FD9
monochromatic
#846A1A #B79324 #D9B43F #E3C872 #EDDCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B43F#FFFFFF#000000##000000
##D9B43F1.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)
#C8B22E
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b43f;
/* rgb */ color: rgb(217, 180, 63);
/* oklch */ color: oklch(78.2% 0.138 90.9);
Tailwind
colors: {
  custom: {
    50: '#e9ca7b',
    500: '#d9b43f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b43f;
$custom-light: #e9ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b43f",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 45.584,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.13757,
    "h": 90.9
  },
  "luminance": 0.47753
}

Semantic roles & 50–950 ramp

primary
#D9B43F
secondary
#9AA9DA
accent
#67EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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