#D9B63F#D9B63F

#D9B63F is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.139 H 92.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#D9B63F
RGBrgb(217, 182, 63)
HSLhsl(46, 67%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 16.1%, 71%, 14.9%)
CIE-LABlab(75.18, 0.23, 62.29)
CIE-LCHlch(75.18, 62.29, 89.79°)
OKLaboklab(78.62% -0.0053 0.1386)
OKLCHoklch(78.62% 0.139 92.2)
XYZxyz(46.2429, 48.5692, 11.6408)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B63F #3F62D9
analogous
#D9693F #D9B63F #AFD93F
triadic
#D9B63F #3FD9B6 #B63FD9
tetradic
#D9B63F #3FD969 #3F62D9 #D93FAF
square
#D9B63F #3FD969 #3F62D9 #D93FAF
split-complementary
#D9B63F #3FAFD9 #693FD9
monochromatic
#846C1A #B79524 #D9B63F #E3C972 #EDDDA5

Accessibility & contrast

On white

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

On black

10.71
#D9B63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B63F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B63F#FFFFFF#000000##000000
##D9B63F1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#EAA79E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b63f;
/* rgb */ color: rgb(217, 182, 63);
/* oklch */ color: oklch(78.6% 0.139 92.2);
Tailwind
colors: {
  custom: {
    50: '#e9cb7b',
    500: '#d9b63f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b63f;
$custom-light: #e9cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b63f",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 63
  },
  "hsl": {
    "h": 46.364,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78623,
    "c": 0.13874,
    "h": 92.2
  },
  "luminance": 0.48566
}

Semantic roles & 50–950 ramp

primary
#D9B63F
secondary
#9AA8DA
accent
#65EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B63F

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

Preview Lab → · Contrast checker → · Palette generator →

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