#D7B94D#D7B94D

#D7B94D is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.130 H 93.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D7B94D
RGBrgb(215, 185, 77)
HSLhsl(47, 63%, 57%)
HSVhsv(47, 64%, 84%)
CMYKcmyk(0%, 14%, 64.2%, 15.7%)
CIE-LABlab(75.87, -1.42, 57.10)
CIE-LCHlch(75.87, 57.12, 91.43°)
OKLaboklab(79.16% -0.0082 0.13)
OKLCHoklch(79.16% 0.13 93.6)
XYZxyz(46.7151, 49.6833, 14.1490)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B94D #4D6BD7
analogous
#D7744D #D7B94D #B0D74D
triadic
#D7B94D #4DD7B9 #B94DD7
tetradic
#D7B94D #4DD774 #4D6BD7 #D74DB0
square
#D7B94D #4DD774 #4D6BD7 #D74DB0
split-complementary
#D7B94D #4DB0D7 #744DD7
monochromatic
#8A731F #BC9D2A #D7B94D #E2CD7F #EDE0B1

Accessibility & contrast

On white

1.92
#D7B94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D7B94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B94D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B94D#FFFFFF#000000##000000
##D7B94D1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB641
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#E7ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b94d;
/* rgb */ color: rgb(215, 185, 77);
/* oklch */ color: oklch(79.2% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d7b94d',
    950: '#000000',
  },
}
SCSS
$custom: #d7b94d;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b94d",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 46.957,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79161,
    "c": 0.1303,
    "h": 93.6
  },
  "luminance": 0.49681
}

Semantic roles & 50–950 ramp

primary
#D7B94D
secondary
#A4B0DC
accent
#65E641
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B94D

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

Preview Lab → · Contrast checker → · Palette generator →

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