#D9B84E#D9B84E

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

Color values

HEX#D9B84E
RGBrgb(217, 184, 78)
HSLhsl(46, 65%, 58%)
HSVhsv(46, 64%, 85%)
CMYKcmyk(0%, 15.2%, 64.1%, 14.9%)
CIE-LABlab(75.81, 0.01, 56.65)
CIE-LCHlch(75.81, 56.65, 89.99°)
OKLaboklab(79.16% -0.0041 0.1292)
OKLCHoklch(79.16% 0.129 91.8)
XYZxyz(47.1332, 49.5853, 14.2946)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B84E #4E6FD9
analogous
#D9724E #D9B84E #B5D94E
triadic
#D9B84E #4ED9B8 #B84ED9
tetradic
#D9B84E #4ED972 #4E6FD9 #D94EB5
square
#D9B84E #4ED972 #4E6FD9 #D94EB5
split-complementary
#D9B84E #4EB5D9 #724ED9
monochromatic
#8E741F #C09D29 #D9B84E #E4CC80 #EFE0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B84E#FFFFFF#000000##000000
##D9B84E1.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)
#CBB542
Deuteranopia (green-blind)
#D3BF53
Tritanopia (blue-blind)
#EAAAA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b84e;
/* rgb */ color: rgb(217, 184, 78);
/* oklch */ color: oklch(79.2% 0.129 91.8);
Tailwind
colors: {
  custom: {
    50: '#e8cd84',
    500: '#d9b84e',
    950: '#000000',
  },
}
SCSS
$custom: #d9b84e;
$custom-light: #e8cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b84e",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 45.755,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7916,
    "c": 0.12925,
    "h": 91.8
  },
  "luminance": 0.49583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B84E

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

Preview Lab → · Contrast checker → · Palette generator →

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