#D8B84F#D8B84F

#D8B84F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.1% C 0.128 H 92.2°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D8B84F
RGBrgb(216, 184, 79)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.8%, 63.4%, 15.3%)
CIE-LABlab(75.73, -0.35, 56.09)
CIE-LCHlch(75.73, 56.09, 90.36°)
OKLaboklab(79.07% -0.005 0.1281)
OKLCHoklch(79.07% 0.128 92.2)
XYZxyz(46.8729, 49.4469, 14.4709)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B84F #4F6FD8
analogous
#D8734F #D8B84F #B4D84F
triadic
#D8B84F #4FD8B8 #B84FD8
tetradic
#D8B84F #4FD873 #4F6FD8 #D84FB4
square
#D8B84F #4FD873 #4F6FD8 #D84FB4
split-complementary
#D8B84F #4FB4D8 #734FD8
monochromatic
#8D741F #BF9D2A #D8B84F #E3CC81 #EEE0B3

Accessibility & contrast

On white

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

On black

10.89
#D8B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B84F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B84F#FFFFFF#000000##000000
##D8B84F1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D2BF54
Tritanopia (blue-blind)
#E9AAA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b84f;
/* rgb */ color: rgb(216, 184, 79);
/* oklch */ color: oklch(79.1% 0.128 92.2);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d8b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b84f;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b84f",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 45.985,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.12825,
    "h": 92.2
  },
  "luminance": 0.49444
}

Semantic roles & 50–950 ramp

primary
#D8B84F
secondary
#A6B3DD
accent
#68E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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