#D9B747#D9B747

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

Color values

HEX#D9B747
RGBrgb(217, 183, 71)
HSLhsl(46, 66%, 56%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 15.7%, 67.3%, 14.9%)
CIE-LABlab(75.50, 0.12, 59.34)
CIE-LCHlch(75.50, 59.34, 89.88°)
OKLaboklab(78.89% -0.0046 0.1338)
OKLCHoklch(78.89% 0.134 92)
XYZxyz(46.6885, 49.0763, 12.9735)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B747 #4769D9
analogous
#D96E47 #D9B747 #B2D947
triadic
#D9B747 #47D9B7 #B747D9
tetradic
#D9B747 #47D96E #4769D9 #D947B2
square
#D9B747 #47D96E #4769D9 #D947B2
split-complementary
#D9B747 #47B2D9 #6E47D9
monochromatic
#89701C #BC9927 #D9B747 #E3CB7A #EEDFAC

Accessibility & contrast

On white

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

On black

10.81
#D9B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B747
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B747#FFFFFF#000000##000000
##D9B7471.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#EAA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b747;
/* rgb */ color: rgb(217, 183, 71);
/* oklch */ color: oklch(78.9% 0.134 92.0);
Tailwind
colors: {
  custom: {
    50: '#e8cc80',
    500: '#d9b747',
    950: '#000000',
  },
}
SCSS
$custom: #d9b747;
$custom-light: #e8cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b747",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 46.027,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78892,
    "c": 0.13387,
    "h": 92
  },
  "luminance": 0.49074
}

Semantic roles & 50–950 ramp

primary
#D9B747
secondary
#A0AEDC
accent
#67E93F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B747

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

Preview Lab → · Contrast checker → · Palette generator →

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