#D7B546#D7B546

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

Color values

HEX#D7B546
RGBrgb(215, 181, 70)
HSLhsl(46, 64%, 56%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 15.8%, 67.4%, 15.7%)
CIE-LABlab(74.79, 0.26, 58.96)
CIE-LCHlch(74.79, 58.96, 89.75°)
OKLaboklab(78.28% -0.0042 0.1329)
OKLCHoklch(78.28% 0.133 91.8)
XYZxyz(45.6560, 47.9396, 12.6416)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B546 #4668D7
analogous
#D76C46 #D7B546 #B0D746
triadic
#D7B546 #46D7B5 #B546D7
tetradic
#D7B546 #46D76C #4668D7 #D746B0
square
#D7B546 #46D76C #4668D7 #D746B0
split-complementary
#D7B546 #46B0D7 #6C46D7
monochromatic
#866D1D #B89628 #D7B546 #E2C978 #EDDDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B546#FFFFFF#000000##000000
##D7B5461.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)
#C8B238
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E8A79E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d7b546;
/* rgb */ color: rgb(215, 181, 70);
/* oklch */ color: oklch(78.3% 0.133 91.8);
Tailwind
colors: {
  custom: {
    50: '#e7ca7f',
    500: '#d7b546',
    950: '#000000',
  },
}
SCSS
$custom: #d7b546;
$custom-light: #e7ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b546",
  "rgb": {
    "r": 215,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 45.931,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.13295,
    "h": 91.8
  },
  "luminance": 0.47937
}

Semantic roles & 50–950 ramp

primary
#D7B546
secondary
#9EACDA
accent
#68E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B546

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

Preview Lab → · Contrast checker → · Palette generator →

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