#D9B643#D9B643

#D9B643 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.7% C 0.136 H 91.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D9B643
RGBrgb(217, 182, 67)
HSLhsl(46, 66%, 56%)
HSVhsv(46, 69%, 85%)
CMYKcmyk(0%, 16.1%, 69.1%, 14.9%)
CIE-LABlab(75.21, 0.43, 60.71)
CIE-LCHlch(75.21, 60.71, 89.60°)
OKLaboklab(78.66% -0.0042 0.136)
OKLCHoklch(78.66% 0.136 91.8)
XYZxyz(46.3588, 48.6155, 12.2510)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B643 #4366D9
analogous
#D96B43 #D9B643 #B1D943
triadic
#D9B643 #43D9B6 #B643D9
tetradic
#D9B643 #43D96B #4366D9 #D943B1
square
#D9B643 #43D96B #4366D9 #D943B1
split-complementary
#D9B643 #43B1D9 #6B43D9
monochromatic
#866D1B #B99725 #D9B643 #E3CA76 #EEDEA9

Accessibility & contrast

On white

1.96
#D9B643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D9B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B643
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B643#FFFFFF#000000##000000
##D9B6431.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B334
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#EAA89E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b643;
/* rgb */ color: rgb(217, 182, 67);
/* oklch */ color: oklch(78.7% 0.136 91.8);
Tailwind
colors: {
  custom: {
    50: '#e9cb7d',
    500: '#d9b643',
    950: '#000000',
  },
}
SCSS
$custom: #d9b643;
$custom-light: #e9cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b643",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 46,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78655,
    "c": 0.13608,
    "h": 91.8
  },
  "luminance": 0.48613
}

Semantic roles & 50–950 ramp

primary
#D9B643
secondary
#9DABDB
accent
#66E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B643

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

Preview Lab → · Contrast checker → · Palette generator →

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