#D1AF46#D1AF46

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

Color values

HEX#D1AF46
RGBrgb(209, 175, 70)
HSLhsl(45, 60%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.3%, 66.5%, 18%)
CIE-LABlab(72.67, 0.85, 56.55)
CIE-LCHlch(72.67, 56.56, 89.14°)
OKLaboklab(76.48% -0.0022 0.128)
OKLCHoklch(76.48% 0.128 91)
XYZxyz(42.7321, 44.6599, 12.1626)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF46 #4668D1
analogous
#D16A46 #D1AF46 #ADD146
triadic
#D1AF46 #46D1AF #AF46D1
tetradic
#D1AF46 #46D16A #4668D1 #D146AD
square
#D1AF46 #46D16A #4668D1 #D146AD
split-complementary
#D1AF46 #46ADD1 #6A46D1
monochromatic
#7D661F #AE8E2B #D1AF46 #DDC477 #E9D9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1AF46#FFFFFF#000000##000000
##D1AF461.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)
#C1AD39
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#E1A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af46;
/* rgb */ color: rgb(209, 175, 70);
/* oklch */ color: oklch(76.5% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e3c67e',
    500: '#d1af46',
    950: '#000000',
  },
}
SCSS
$custom: #d1af46;
$custom-light: #e3c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af46",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 45.324,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76477,
    "c": 0.128,
    "h": 91
  },
  "luminance": 0.44657
}

Semantic roles & 50–950 ramp

primary
#D1AF46
secondary
#9CAAD7
accent
#6BE344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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