#D9B843#D9B843

#D9B843 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.1% C 0.137 H 93.0°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D9B843
RGBrgb(217, 184, 67)
HSLhsl(47, 66%, 56%)
HSVhsv(47, 69%, 85%)
CMYKcmyk(0%, 15.2%, 69.1%, 14.9%)
CIE-LABlab(75.72, -0.62, 61.23)
CIE-LCHlch(75.72, 61.24, 90.58°)
OKLaboklab(79.06% -0.0072 0.1371)
OKLCHoklch(79.06% 0.137 93)
XYZxyz(46.7713, 49.4406, 12.3886)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B843 #4364D9
analogous
#D96D43 #D9B843 #AFD943
triadic
#D9B843 #43D9B8 #B843D9
tetradic
#D9B843 #43D96D #4364D9 #D943AF
square
#D9B843 #43D96D #4364D9 #D943AF
split-complementary
#D9B843 #43AFD9 #6D43D9
monochromatic
#866F1B #B99925 #D9B843 #E3CB76 #EEDEA9

Accessibility & contrast

On white

1.93
#D9B843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#D9B843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B843
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B843#FFFFFF#000000##000000
##D9B8431.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB533
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#EAAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b843;
/* rgb */ color: rgb(217, 184, 67);
/* oklch */ color: oklch(79.1% 0.137 93.0);
Tailwind
colors: {
  custom: {
    50: '#e9cd7d',
    500: '#d9b843',
    950: '#000000',
  },
}
SCSS
$custom: #d9b843;
$custom-light: #e9cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b843",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 46.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7906,
    "c": 0.13731,
    "h": 93
  },
  "luminance": 0.49438
}

Semantic roles & 50–950 ramp

primary
#D9B843
secondary
#9DAADB
accent
#64E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B843

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

Preview Lab → · Contrast checker → · Palette generator →

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