#D9B83D#D9B83D

#D9B83D is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.141 H 93.6°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D9B83D
RGBrgb(217, 184, 61)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 72%, 85%)
CMYKcmyk(0%, 15.2%, 71.9%, 14.9%)
CIE-LABlab(75.68, -0.92, 63.56)
CIE-LCHlch(75.68, 63.57, 90.83°)
OKLaboklab(79.01% -0.0088 0.141)
OKLCHoklch(79.01% 0.141 93.6)
XYZxyz(46.6005, 49.3723, 11.4892)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B83D #3D5ED9
analogous
#D96A3D #D9B83D #ACD93D
triadic
#D9B83D #3DD9B8 #B83DD9
tetradic
#D9B83D #3DD96A #3D5ED9 #D93DAC
square
#D9B83D #3DD96A #3D5ED9 #D93DAC
split-complementary
#D9B83D #3DACD9 #6A3DD9
monochromatic
#826C19 #B59624 #D9B83D #E3CB70 #EDDDA3

Accessibility & contrast

On white

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

On black

10.87
#D9B83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B83D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B83D#FFFFFF#000000##000000
##D9B83D1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52A
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#EAA99F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b83d;
/* rgb */ color: rgb(217, 184, 61);
/* oklch */ color: oklch(79.0% 0.141 93.6);
Tailwind
colors: {
  custom: {
    50: '#e9cc7a',
    500: '#d9b83d',
    950: '#000000',
  },
}
SCSS
$custom: #d9b83d;
$custom-light: #e9cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b83d",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 61
  },
  "hsl": {
    "h": 47.308,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79013,
    "c": 0.14124,
    "h": 93.6
  },
  "luminance": 0.4937
}

Semantic roles & 50–950 ramp

primary
#D9B83D
secondary
#98A6DA
accent
#62EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B83D

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

Preview Lab → · Contrast checker → · Palette generator →

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