#D7B547#D7B547

#D7B547 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.3% C 0.132 H 91.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D7B547
RGBrgb(215, 181, 71)
HSLhsl(46, 64%, 56%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 15.8%, 67%, 15.7%)
CIE-LABlab(74.79, 0.32, 58.54)
CIE-LCHlch(74.79, 58.55, 89.69°)
OKLaboklab(78.29% -0.004 0.1322)
OKLCHoklch(78.29% 0.132 91.7)
XYZxyz(45.6879, 47.9523, 12.8093)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B547 #4769D7
analogous
#D76D47 #D7B547 #B1D747
triadic
#D7B547 #47D7B5 #B547D7
tetradic
#D7B547 #47D76D #4769D7 #D747B1
square
#D7B547 #47D76D #4769D7 #D747B1
split-complementary
#D7B547 #47B1D7 #6D47D7
monochromatic
#866E1D #B99728 #D7B547 #E2C979 #EDDDAC

Accessibility & contrast

On white

1.98
#D7B547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D7B547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B547
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B547#FFFFFF#000000##000000
##D7B5471.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B239
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#E8A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d7b547;
/* rgb */ color: rgb(215, 181, 71);
/* oklch */ color: oklch(78.3% 0.132 91.7);
Tailwind
colors: {
  custom: {
    50: '#e7ca7f',
    500: '#d7b547',
    950: '#000000',
  },
}
SCSS
$custom: #d7b547;
$custom-light: #e7ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b547",
  "rgb": {
    "r": 215,
    "g": 181,
    "b": 71
  },
  "hsl": {
    "h": 45.833,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.13223,
    "h": 91.7
  },
  "luminance": 0.4795
}

Semantic roles & 50–950 ramp

primary
#D7B547
secondary
#9FADDB
accent
#68E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B547

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

Preview Lab → · Contrast checker → · Palette generator →

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