#D9B63B#D9B63B

#D9B63B is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.141 H 92.5°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D9B63B
RGBrgb(217, 182, 59)
HSLhsl(47, 68%, 54%)
HSVhsv(47, 73%, 85%)
CMYKcmyk(0%, 16.1%, 72.8%, 14.9%)
CIE-LABlab(75.16, 0.04, 63.81)
CIE-LCHlch(75.16, 63.81, 89.97°)
OKLaboklab(78.59% -0.0063 0.1411)
OKLCHoklch(78.59% 0.141 92.5)
XYZxyz(46.1352, 48.5261, 11.0733)
Luminance0.4852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B63B #3B5ED9
analogous
#D9673B #D9B63B #ADD93B
triadic
#D9B63B #3BD9B6 #B63BD9
tetradic
#D9B63B #3BD967 #3B5ED9 #D93BAD
square
#D9B63B #3BD967 #3B5ED9 #D93BAD
split-complementary
#D9B63B #3BADD9 #673BD9
monochromatic
#816A19 #B49423 #D9B63B #E3C96E #EDDCA2

Accessibility & contrast

On white

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

On black

10.70
#D9B63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B63B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B63B#FFFFFF#000000##000000
##D9B63B1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB328
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#EBA79E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b63b;
/* rgb */ color: rgb(217, 182, 59);
/* oklch */ color: oklch(78.6% 0.141 92.5);
Tailwind
colors: {
  custom: {
    50: '#e9cb79',
    500: '#d9b63b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b63b;
$custom-light: #e9cb79;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b63b",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 59
  },
  "hsl": {
    "h": 46.709,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78593,
    "c": 0.14126,
    "h": 92.5
  },
  "luminance": 0.48523
}

Semantic roles & 50–950 ramp

primary
#D9B63B
secondary
#96A5DA
accent
#64EA3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B63B

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

Preview Lab → · Contrast checker → · Palette generator →

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