#D9B647#D9B647

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

Color values

HEX#D9B647
RGBrgb(217, 182, 71)
HSLhsl(46, 66%, 56%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 16.1%, 67.3%, 14.9%)
CIE-LABlab(75.24, 0.65, 59.07)
CIE-LCHlch(75.24, 59.08, 89.37°)
OKLaboklab(78.69% -0.0031 0.1332)
OKLCHoklch(78.69% 0.133 91.3)
XYZxyz(46.4830, 48.6652, 12.9050)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B647 #476AD9
analogous
#D96D47 #D9B647 #B3D947
triadic
#D9B647 #47D9B6 #B647D9
tetradic
#D9B647 #47D96D #476AD9 #D947B3
square
#D9B647 #47D96D #476AD9 #D947B3
split-complementary
#D9B647 #47B3D9 #6D47D9
monochromatic
#896F1C #BC9827 #D9B647 #E3CA7A #EEDEAC

Accessibility & contrast

On white

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

On black

10.73
#D9B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B647
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B647#FFFFFF#000000##000000
##D9B6471.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#EAA89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b647;
/* rgb */ color: rgb(217, 182, 71);
/* oklch */ color: oklch(78.7% 0.133 91.3);
Tailwind
colors: {
  custom: {
    50: '#e8cb80',
    500: '#d9b647',
    950: '#000000',
  },
}
SCSS
$custom: #d9b647;
$custom-light: #e8cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b647",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 45.616,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.13326,
    "h": 91.3
  },
  "luminance": 0.48663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B647

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

Preview Lab → · Contrast checker → · Palette generator →

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