#D7B84C#D7B84C

#D7B84C is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.130 H 93.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D7B84C
RGBrgb(215, 184, 76)
HSLhsl(47, 63%, 57%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 14.4%, 64.7%, 15.7%)
CIE-LABlab(75.61, -0.96, 57.25)
CIE-LCHlch(75.61, 57.26, 90.96°)
OKLaboklab(78.95% -0.007 0.1302)
OKLCHoklch(78.95% 0.13 93.1)
XYZxyz(46.4716, 49.2523, 13.8950)
Luminance0.4925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B84C #4C6BD7
analogous
#D7734C #D7B84C #B0D74C
triadic
#D7B84C #4CD7B8 #B84CD7
tetradic
#D7B84C #4CD773 #4C6BD7 #D74CB0
square
#D7B84C #4CD773 #4C6BD7 #D74CB0
split-complementary
#D7B84C #4CB0D7 #734CD7
monochromatic
#8A721F #BC9B2A #D7B84C #E2CC7E #EDE0B0

Accessibility & contrast

On white

1.94
#D7B84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#D7B84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B84C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B84C#FFFFFF#000000##000000
##D7B84C1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53F
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#E8AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b84c;
/* rgb */ color: rgb(215, 184, 76);
/* oklch */ color: oklch(78.9% 0.130 93.1);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d7b84c',
    950: '#000000',
  },
}
SCSS
$custom: #d7b84c;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b84c",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 46.619,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78947,
    "c": 0.1304,
    "h": 93.1
  },
  "luminance": 0.4925
}

Semantic roles & 50–950 ramp

primary
#D7B84C
secondary
#A3B0DC
accent
#66E641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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