#D7B849#D7B849

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

Color values

HEX#D7B849
RGBrgb(215, 184, 73)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 66%, 84%)
CMYKcmyk(0%, 14.4%, 66%, 15.7%)
CIE-LABlab(75.58, -1.14, 58.52)
CIE-LCHlch(75.58, 58.53, 91.12°)
OKLaboklab(78.92% -0.0079 0.1324)
OKLCHoklch(78.92% 0.133 93.4)
XYZxyz(46.3697, 49.2116, 13.3584)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B849 #4968D7
analogous
#D77149 #D7B849 #AFD749
triadic
#D7B849 #49D7B8 #B849D7
tetradic
#D7B849 #49D771 #4968D7 #D749AF
square
#D7B849 #49D771 #4968D7 #D749AF
split-complementary
#D7B849 #49AFD7 #7149D7
monochromatic
#88711E #BA9A29 #D7B849 #E2CC7B #EDDFAD

Accessibility & contrast

On white

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

On black

10.84
#D7B849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B849
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B849#FFFFFF#000000##000000
##D7B8491.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b849;
/* rgb */ color: rgb(215, 184, 73);
/* oklch */ color: oklch(78.9% 0.133 93.4);
Tailwind
colors: {
  custom: {
    50: '#e7cd81',
    500: '#d7b849',
    950: '#000000',
  },
}
SCSS
$custom: #d7b849;
$custom-light: #e7cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b849",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 46.901,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78919,
    "c": 0.13268,
    "h": 93.4
  },
  "luminance": 0.49209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B849

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

Preview Lab → · Contrast checker → · Palette generator →

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