#D1B047#D1B047

#D1B047 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.128 H 91.5°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D1B047
RGBrgb(209, 176, 71)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.8%, 66%, 18%)
CIE-LABlab(72.93, 0.38, 56.40)
CIE-LCHlch(72.93, 56.40, 89.61°)
OKLaboklab(76.69% -0.0034 0.1278)
OKLCHoklch(76.69% 0.128 91.5)
XYZxyz(42.9593, 45.0633, 12.3954)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B047 #4768D1
analogous
#D16B47 #D1B047 #ADD147
triadic
#D1B047 #47D1B0 #B047D1
tetradic
#D1B047 #47D16B #4768D1 #D147AD
square
#D1B047 #47D16B #4768D1 #D147AD
split-complementary
#D1B047 #47ADD1 #6B47D1
monochromatic
#7E6720 #AF902C #D1B047 #DDC578 #E9DAA9

Accessibility & contrast

On white

2.10
#D1B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D1B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B047
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B047#FFFFFF#000000##000000
##D1B0471.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3A
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#E1A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b047;
/* rgb */ color: rgb(209, 176, 71);
/* oklch */ color: oklch(76.7% 0.128 91.5);
Tailwind
colors: {
  custom: {
    50: '#e3c77f',
    500: '#d1b047',
    950: '#000000',
  },
}
SCSS
$custom: #d1b047;
$custom-light: #e3c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b047",
  "rgb": {
    "r": 209,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 45.652,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76689,
    "c": 0.12787,
    "h": 91.5
  },
  "luminance": 0.45061
}

Semantic roles & 50–950 ramp

primary
#D1B047
secondary
#9DABD7
accent
#6BE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B047

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

Preview Lab → · Contrast checker → · Palette generator →

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