#D5B747#D5B747

#D5B747 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.133 H 94.0°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#D5B747
RGBrgb(213, 183, 71)
HSLhsl(47, 63%, 56%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.1%, 66.7%, 16.5%)
CIE-LABlab(75.12, -1.59, 58.83)
CIE-LCHlch(75.12, 58.85, 91.55°)
OKLaboklab(78.51% -0.0093 0.1328)
OKLCHoklch(78.51% 0.133 94)
XYZxyz(45.5136, 48.4705, 12.9184)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B747 #4765D5
analogous
#D57047 #D5B747 #ACD547
triadic
#D5B747 #47D5B7 #B747D5
tetradic
#D5B747 #47D570 #4765D5 #D547AC
square
#D5B747 #47D570 #4765D5 #D547AC
split-complementary
#D5B747 #47ACD5 #7047D5
monochromatic
#846E1E #B59829 #D5B747 #E0CA79 #ECDEAB

Accessibility & contrast

On white

1.96
#D5B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#D5B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B747
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B747#FFFFFF#000000##000000
##D5B7471.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B439
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#E6A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b747;
/* rgb */ color: rgb(213, 183, 71);
/* oklch */ color: oklch(78.5% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e5cc80',
    500: '#d5b747',
    950: '#000000',
  },
}
SCSS
$custom: #d5b747;
$custom-light: #e5cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b747",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 47.324,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.13316,
    "h": 94
  },
  "luminance": 0.48468
}

Semantic roles & 50–950 ramp

primary
#D5B747
secondary
#9EABD9
accent
#65E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B747

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

Preview Lab → · Contrast checker → · Palette generator →

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