#D8B84C#D8B84C

#D8B84C is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.131 H 92.6°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D8B84C
RGBrgb(216, 184, 76)
HSLhsl(46, 64%, 57%)
HSVhsv(46, 65%, 85%)
CMYKcmyk(0%, 14.8%, 64.8%, 15.3%)
CIE-LABlab(75.70, -0.54, 57.38)
CIE-LCHlch(75.70, 57.38, 90.54°)
OKLaboklab(79.04% -0.0059 0.1305)
OKLCHoklch(79.04% 0.131 92.6)
XYZxyz(46.7662, 49.4042, 13.9088)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B84C #4C6CD8
analogous
#D8724C #D8B84C #B2D84C
triadic
#D8B84C #4CD8B8 #B84CD8
tetradic
#D8B84C #4CD872 #4C6CD8 #D84CB2
square
#D8B84C #4CD872 #4C6CD8 #D84CB2
split-complementary
#D8B84C #4CB2D8 #724CD8
monochromatic
#8B721E #BE9C29 #D8B84C #E3CC7E #EEE0B1

Accessibility & contrast

On white

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

On black

10.88
#D8B84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B84C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B84C#FFFFFF#000000##000000
##D8B84C1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8b84c;
/* rgb */ color: rgb(216, 184, 76);
/* oklch */ color: oklch(79.0% 0.131 92.6);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d8b84c',
    950: '#000000',
  },
}
SCSS
$custom: #d8b84c;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b84c",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 46.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.13059,
    "h": 92.6
  },
  "luminance": 0.49402
}

Semantic roles & 50–950 ramp

primary
#D8B84C
secondary
#A4B1DC
accent
#67E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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