#D9B84F#D9B84F

#D9B84F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.2% C 0.128 H 91.7°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D9B84F
RGBrgb(217, 184, 79)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 64%, 85%)
CMYKcmyk(0%, 15.2%, 63.6%, 14.9%)
CIE-LABlab(75.82, 0.07, 56.22)
CIE-LCHlch(75.82, 56.22, 89.93°)
OKLaboklab(79.17% -0.0038 0.1284)
OKLCHoklch(79.17% 0.128 91.7)
XYZxyz(47.1693, 49.5998, 14.4848)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B84F #4F70D9
analogous
#D9734F #D9B84F #B5D94F
triadic
#D9B84F #4FD9B8 #B84FD9
tetradic
#D9B84F #4FD973 #4F70D9 #D94FB5
square
#D9B84F #4FD973 #4F70D9 #D94FB5
split-complementary
#D9B84F #4FB5D9 #734FD9
monochromatic
#8F741F #C19D2A #D9B84F #E4CC81 #EFE1B4

Accessibility & contrast

On white

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

On black

10.92
#D9B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B84F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B84F#FFFFFF#000000##000000
##D9B84F1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b84f;
/* rgb */ color: rgb(217, 184, 79);
/* oklch */ color: oklch(79.2% 0.128 91.7);
Tailwind
colors: {
  custom: {
    50: '#e8cd85',
    500: '#d9b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b84f;
$custom-light: #e8cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b84f",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 45.652,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79169,
    "c": 0.12846,
    "h": 91.7
  },
  "luminance": 0.49597
}

Semantic roles & 50–950 ramp

primary
#D9B84F
secondary
#A6B4DD
accent
#68E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D9B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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