#D7B847#D7B847

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

Color values

HEX#D7B847
RGBrgb(215, 184, 71)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.4%, 67%, 15.7%)
CIE-LABlab(75.57, -1.26, 59.35)
CIE-LCHlch(75.57, 59.37, 91.21°)
OKLaboklab(78.9% -0.0085 0.1339)
OKLCHoklch(78.9% 0.134 93.6)
XYZxyz(46.3044, 49.1855, 13.0148)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B847 #4766D7
analogous
#D77047 #D7B847 #AED747
triadic
#D7B847 #47D7B8 #B847D7
tetradic
#D7B847 #47D770 #4766D7 #D747AE
square
#D7B847 #47D770 #4766D7 #D747AE
split-complementary
#D7B847 #47AED7 #7047D7
monochromatic
#86701D #B99A28 #D7B847 #E2CB79 #EDDFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B847#FFFFFF#000000##000000
##D7B8471.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)
#CBB539
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#E8AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b847;
/* rgb */ color: rgb(215, 184, 71);
/* oklch */ color: oklch(78.9% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e7cd80',
    500: '#d7b847',
    950: '#000000',
  },
}
SCSS
$custom: #d7b847;
$custom-light: #e7cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b847",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 47.083,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.13415,
    "h": 93.6
  },
  "luminance": 0.49183
}

Semantic roles & 50–950 ramp

primary
#D7B847
secondary
#9FACDB
accent
#64E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B847

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

Preview Lab → · Contrast checker → · Palette generator →

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