#D7B84D#D7B84D

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

Color values

HEX#D7B84D
RGBrgb(215, 184, 77)
HSLhsl(47, 63%, 57%)
HSVhsv(47, 64%, 84%)
CMYKcmyk(0%, 14.4%, 64.2%, 15.7%)
CIE-LABlab(75.62, -0.90, 56.82)
CIE-LCHlch(75.62, 56.83, 90.91°)
OKLaboklab(78.96% -0.0067 0.1295)
OKLCHoklch(78.96% 0.13 93)
XYZxyz(46.5066, 49.2664, 14.0795)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B84D #4D6CD7
analogous
#D7734D #D7B84D #B1D74D
triadic
#D7B84D #4DD7B8 #B84DD7
tetradic
#D7B84D #4DD773 #4D6CD7 #D74DB1
square
#D7B84D #4DD773 #4D6CD7 #D74DB1
split-complementary
#D7B84D #4DB1D7 #734DD7
monochromatic
#8A721F #BC9C2A #D7B84D #E2CC7F #EDE0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B84D#FFFFFF#000000##000000
##D7B84D1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b84d;
/* rgb */ color: rgb(215, 184, 77);
/* oklch */ color: oklch(79.0% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d7b84d',
    950: '#000000',
  },
}
SCSS
$custom: #d7b84d;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b84d",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 46.522,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78957,
    "c": 0.12963,
    "h": 93
  },
  "luminance": 0.49264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B84D

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

Preview Lab → · Contrast checker → · Palette generator →

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