#D7B84B#D7B84B

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

Color values

HEX#D7B84B
RGBrgb(215, 184, 75)
HSLhsl(47, 64%, 57%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 14.4%, 65.1%, 15.7%)
CIE-LABlab(75.60, -1.02, 57.68)
CIE-LCHlch(75.60, 57.69, 91.02°)
OKLaboklab(78.94% -0.0073 0.131)
OKLCHoklch(78.94% 0.131 93.2)
XYZxyz(46.4371, 49.2385, 13.7133)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B84B #4B6AD7
analogous
#D7724B #D7B84B #B0D74B
triadic
#D7B84B #4BD7B8 #B84BD7
tetradic
#D7B84B #4BD772 #4B6AD7 #D74BB0
square
#D7B84B #4BD772 #4B6AD7 #D74BB0
split-complementary
#D7B84B #4BB0D7 #724BD7
monochromatic
#89721E #BB9B2A #D7B84B #E2CC7D #EDE0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B84B#FFFFFF#000000##000000
##D7B84B1.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)
#CAB53E
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#E8AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b84b;
/* rgb */ color: rgb(215, 184, 75);
/* oklch */ color: oklch(78.9% 0.131 93.2);
Tailwind
colors: {
  custom: {
    50: '#e7cd82',
    500: '#d7b84b',
    950: '#000000',
  },
}
SCSS
$custom: #d7b84b;
$custom-light: #e7cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b84b",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 46.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78938,
    "c": 0.13116,
    "h": 93.2
  },
  "luminance": 0.49236
}

Semantic roles & 50–950 ramp

primary
#D7B84B
secondary
#A2AFDB
accent
#66E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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