#D9B84A#D9B84A

#D9B84A is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.132 H 92.3°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D9B84A
RGBrgb(217, 184, 74)
HSLhsl(46, 65%, 57%)
HSVhsv(46, 66%, 85%)
CMYKcmyk(0%, 15.2%, 65.9%, 14.9%)
CIE-LABlab(75.78, -0.23, 58.36)
CIE-LCHlch(75.78, 58.36, 90.23°)
OKLaboklab(79.12% -0.0053 0.1322)
OKLCHoklch(79.12% 0.132 92.3)
XYZxyz(46.9941, 49.5297, 13.5621)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B84A #4A6BD9
analogous
#D9714A #D9B84A #B3D94A
triadic
#D9B84A #4AD9B8 #B84AD9
tetradic
#D9B84A #4AD971 #4A6BD9 #D94AB3
square
#D9B84A #4AD971 #4A6BD9 #D94AB3
split-complementary
#D9B84A #4AB3D9 #714AD9
monochromatic
#8B721D #BE9B28 #D9B84A #E4CC7D #EEE0AF

Accessibility & contrast

On white

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

On black

10.91
#D9B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B84A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B84A#FFFFFF#000000##000000
##D9B84A1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53D
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#EAAAA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b84a;
/* rgb */ color: rgb(217, 184, 74);
/* oklch */ color: oklch(79.1% 0.132 92.3);
Tailwind
colors: {
  custom: {
    50: '#e8cd82',
    500: '#d9b84a',
    950: '#000000',
  },
}
SCSS
$custom: #d9b84a;
$custom-light: #e8cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b84a",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 46.154,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79121,
    "c": 0.1323,
    "h": 92.3
  },
  "luminance": 0.49527
}

Semantic roles & 50–950 ramp

primary
#D9B84A
secondary
#A2B0DC
accent
#66E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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