#D9B84D#D9B84D

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

Color values

HEX#D9B84D
RGBrgb(217, 184, 77)
HSLhsl(46, 65%, 58%)
HSVhsv(46, 65%, 85%)
CMYKcmyk(0%, 15.2%, 64.5%, 14.9%)
CIE-LABlab(75.81, -0.05, 57.08)
CIE-LCHlch(75.81, 57.08, 90.05°)
OKLaboklab(79.15% -0.0044 0.1299)
OKLCHoklch(79.15% 0.13 91.9)
XYZxyz(47.0976, 49.5711, 14.1072)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B84D #4D6ED9
analogous
#D9724D #D9B84D #B4D94D
triadic
#D9B84D #4DD9B8 #B84DD9
tetradic
#D9B84D #4DD972 #4D6ED9 #D94DB4
square
#D9B84D #4DD972 #4D6ED9 #D94DB4
split-complementary
#D9B84D #4DB4D9 #724DD9
monochromatic
#8D731E #C09C29 #D9B84D #E4CC7F #EFE0B2

Accessibility & contrast

On white

1.92
#D9B84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B84D#FFFFFF#000000##000000
##D9B84D1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b84d;
/* rgb */ color: rgb(217, 184, 77);
/* oklch */ color: oklch(79.1% 0.130 91.9);
Tailwind
colors: {
  custom: {
    50: '#e8cd83',
    500: '#d9b84d',
    950: '#000000',
  },
}
SCSS
$custom: #d9b84d;
$custom-light: #e8cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b84d",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 45.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7915,
    "c": 0.13002,
    "h": 91.9
  },
  "luminance": 0.49569
}

Semantic roles & 50–950 ramp

primary
#D9B84D
secondary
#A5B2DD
accent
#68E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B84D

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

Preview Lab → · Contrast checker → · Palette generator →

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