#D7B747#D7B747

#D7B747 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.133 H 93.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D7B747
RGBrgb(215, 183, 71)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.9%, 67%, 15.7%)
CIE-LABlab(75.31, -0.73, 59.08)
CIE-LCHlch(75.31, 59.09, 90.71°)
OKLaboklab(78.7% -0.007 0.1333)
OKLCHoklch(78.7% 0.133 93)
XYZxyz(46.0975, 48.7715, 12.9458)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B747 #4767D7
analogous
#D76F47 #D7B747 #AFD747
triadic
#D7B747 #47D7B7 #B747D7
tetradic
#D7B747 #47D76F #4767D7 #D747AF
square
#D7B747 #47D76F #4767D7 #D747AF
split-complementary
#D7B747 #47AFD7 #6F47D7
monochromatic
#866F1D #B99928 #D7B747 #E2CB79 #EDDEAC

Accessibility & contrast

On white

1.95
#D7B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#D7B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B747
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B747#FFFFFF#000000##000000
##D7B7471.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D2BD4D
Tritanopia (blue-blind)
#E8A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b747;
/* rgb */ color: rgb(215, 183, 71);
/* oklch */ color: oklch(78.7% 0.133 93.0);
Tailwind
colors: {
  custom: {
    50: '#e7cc80',
    500: '#d7b747',
    950: '#000000',
  },
}
SCSS
$custom: #d7b747;
$custom-light: #e7cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b747",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 46.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78698,
    "c": 0.13349,
    "h": 93
  },
  "luminance": 0.48769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B747

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

Preview Lab → · Contrast checker → · Palette generator →

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