#D9BB47#D9BB47

#D9BB47 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.7% C 0.136 H 94.5°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#D9BB47
RGBrgb(217, 187, 71)
HSLhsl(48, 66%, 56%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13.8%, 67.3%, 14.9%)
CIE-LABlab(76.53, -1.97, 60.41)
CIE-LCHlch(76.53, 60.45, 91.87°)
OKLaboklab(79.7% -0.0106 0.1361)
OKLCHoklch(79.7% 0.136 94.5)
XYZxyz(47.5253, 50.7498, 13.2524)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BB47 #4765D9
analogous
#D97247 #D9BB47 #AED947
triadic
#D9BB47 #47D9BB #BB47D9
tetradic
#D9BB47 #47D972 #4765D9 #D947AE
square
#D9BB47 #47D972 #4765D9 #D947AE
split-complementary
#D9BB47 #47AED9 #7247D9
monochromatic
#89731C #BC9D27 #D9BB47 #E3CE7A #EEE0AC

Accessibility & contrast

On white

1.88
#D9BB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#D9BB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BB47
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BB47#FFFFFF#000000##000000
##D9BB471.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#EAADA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d9bb47;
/* rgb */ color: rgb(217, 187, 71);
/* oklch */ color: oklch(79.7% 0.136 94.5);
Tailwind
colors: {
  custom: {
    50: '#e8cf80',
    500: '#d9bb47',
    950: '#000000',
  },
}
SCSS
$custom: #d9bb47;
$custom-light: #e8cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bb47",
  "rgb": {
    "r": 217,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 47.671,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79704,
    "c": 0.13648,
    "h": 94.5
  },
  "luminance": 0.50747
}

Semantic roles & 50–950 ramp

primary
#D9BB47
secondary
#35478F
accent
#62E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BB47

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

Preview Lab → · Contrast checker → · Palette generator →

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