#D7B94C#D7B94C

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

Color values

HEX#D7B94C
RGBrgb(215, 185, 76)
HSLhsl(47, 63%, 57%)
HSVhsv(47, 65%, 84%)
CMYKcmyk(0%, 14%, 64.7%, 15.7%)
CIE-LABlab(75.87, -1.49, 57.53)
CIE-LCHlch(75.87, 57.55, 91.48°)
OKLaboklab(79.15% -0.0085 0.1308)
OKLCHoklch(79.15% 0.131 93.7)
XYZxyz(46.6800, 49.6693, 13.9644)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B94C #4C6AD7
analogous
#D7734C #D7B94C #B0D74C
triadic
#D7B94C #4CD7B9 #B94CD7
tetradic
#D7B94C #4CD773 #4C6AD7 #D74CB0
square
#D7B94C #4CD773 #4C6AD7 #D74CB0
split-complementary
#D7B94C #4CB0D7 #734CD7
monochromatic
#8A731F #BC9C2A #D7B94C #E2CD7E #EDE0B0

Accessibility & contrast

On white

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

On black

10.93
#D7B94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B94C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B94C#FFFFFF#000000##000000
##D7B94C1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b94c;
/* rgb */ color: rgb(215, 185, 76);
/* oklch */ color: oklch(79.2% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e7cd83',
    500: '#d7b94c',
    950: '#000000',
  },
}
SCSS
$custom: #d7b94c;
$custom-light: #e7cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b94c",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 47.05,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79151,
    "c": 0.13108,
    "h": 93.7
  },
  "luminance": 0.49667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B94C

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

Preview Lab → · Contrast checker → · Palette generator →

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