#D7B949#D7B949

#D7B949 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.133 H 94.0°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D7B949
RGBrgb(215, 185, 73)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 66%, 84%)
CMYKcmyk(0%, 14%, 66%, 15.7%)
CIE-LABlab(75.84, -1.66, 58.79)
CIE-LCHlch(75.84, 58.82, 91.62°)
OKLaboklab(79.12% -0.0094 0.133)
OKLCHoklch(79.12% 0.133 94)
XYZxyz(46.5781, 49.6285, 13.4279)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B949 #4967D7
analogous
#D77249 #D7B949 #AED749
triadic
#D7B949 #49D7B9 #B949D7
tetradic
#D7B949 #49D772 #4967D7 #D749AE
square
#D7B949 #49D772 #4967D7 #D749AE
split-complementary
#D7B949 #49AED7 #7249D7
monochromatic
#88711E #BA9B29 #D7B949 #E2CC7B #EDE0AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B949#FFFFFF#000000##000000
##D7B9491.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)
#CBB63B
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#E8ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b949;
/* rgb */ color: rgb(215, 185, 73);
/* oklch */ color: oklch(79.1% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e7cd81',
    500: '#d7b949',
    950: '#000000',
  },
}
SCSS
$custom: #d7b949;
$custom-light: #e7cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b949",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 47.324,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79123,
    "c": 0.13335,
    "h": 94
  },
  "luminance": 0.49626
}

Semantic roles & 50–950 ramp

primary
#D7B949
secondary
#A1ADDB
accent
#64E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B949

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

Preview Lab → · Contrast checker → · Palette generator →

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