#D1B747#D1B747

#D1B747 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.133 H 96.0°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D1B747
RGBrgb(209, 183, 71)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 66%, 82%)
CMYKcmyk(0%, 12.4%, 66%, 18%)
CIE-LABlab(74.75, -3.30, 58.32)
CIE-LCHlch(74.75, 58.42, 93.23°)
OKLaboklab(78.12% -0.014 0.1319)
OKLCHoklch(78.12% 0.133 96)
XYZxyz(44.3674, 47.8794, 12.8647)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B747 #4761D1
analogous
#D17247 #D1B747 #A6D147
triadic
#D1B747 #47D1B7 #B747D1
tetradic
#D1B747 #47D172 #4761D1 #D147A6
square
#D1B747 #47D172 #4761D1 #D147A6
split-complementary
#D1B747 #47A6D1 #7247D1
monochromatic
#7E6C20 #AF962C #D1B747 #DDCA78 #E9DDA9

Accessibility & contrast

On white

1.99
#D1B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D1B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B747
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B747#FFFFFF#000000##000000
##D1B7471.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#E1AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b747;
/* rgb */ color: rgb(209, 183, 71);
/* oklch */ color: oklch(78.1% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#e3cc80',
    500: '#d1b747',
    950: '#000000',
  },
}
SCSS
$custom: #d1b747;
$custom-light: #e3cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b747",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 48.696,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78124,
    "c": 0.13263,
    "h": 96
  },
  "luminance": 0.47877
}

Semantic roles & 50–950 ramp

primary
#D1B747
secondary
#9DA8D7
accent
#63E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B747

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

Preview Lab → · Contrast checker → · Palette generator →

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