#D1AF47#D1AF47

#D1AF47 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.127 H 90.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#D1AF47
RGBrgb(209, 175, 71)
HSLhsl(45, 60%, 55%)
HSVhsv(45, 66%, 82%)
CMYKcmyk(0%, 16.3%, 66%, 18%)
CIE-LABlab(72.68, 0.91, 56.13)
CIE-LCHlch(72.68, 56.14, 89.07°)
OKLaboklab(76.49% -0.0019 0.1272)
OKLCHoklch(76.49% 0.127 90.8)
XYZxyz(42.7640, 44.6726, 12.3302)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF47 #4769D1
analogous
#D16A47 #D1AF47 #AED147
triadic
#D1AF47 #47D1AF #AF47D1
tetradic
#D1AF47 #47D16A #4769D1 #D147AE
square
#D1AF47 #47D16A #4769D1 #D147AE
split-complementary
#D1AF47 #47AED1 #6A47D1
monochromatic
#7E6720 #AF8F2C #D1AF47 #DDC478 #E9DAA9

Accessibility & contrast

On white

2.11
#D1AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#D1AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AF47
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AF47#FFFFFF#000000##000000
##D1AF471.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3B
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#E1A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af47;
/* rgb */ color: rgb(209, 175, 71);
/* oklch */ color: oklch(76.5% 0.127 90.8);
Tailwind
colors: {
  custom: {
    50: '#e3c67f',
    500: '#d1af47',
    950: '#000000',
  },
}
SCSS
$custom: #d1af47;
$custom-light: #e3c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af47",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 45.217,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.12724,
    "h": 90.8
  },
  "luminance": 0.4467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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