#D1AF41#D1AF41

#D1AF41 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.132 H 91.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#D1AF41
RGBrgb(209, 175, 65)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 16.3%, 68.9%, 18%)
CIE-LABlab(72.63, 0.57, 58.64)
CIE-LCHlch(72.63, 58.64, 89.44°)
OKLaboklab(76.43% -0.0036 0.1316)
OKLCHoklch(76.43% 0.132 91.6)
XYZxyz(42.5808, 44.5994, 11.3657)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF41 #4163D1
analogous
#D16741 #D1AF41 #ABD141
triadic
#D1AF41 #41D1AF #AF41D1
tetradic
#D1AF41 #41D167 #4163D1 #D141AB
square
#D1AF41 #41D167 #4163D1 #D141AB
split-complementary
#D1AF41 #41ABD1 #6741D1
monochromatic
#7A641E #AB8D29 #D1AF41 #DDC472 #E9D8A4

Accessibility & contrast

On white

2.12
#D1AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#D1AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AF41
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AF41#FFFFFF#000000##000000
##D1AF411.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#E2A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af41;
/* rgb */ color: rgb(209, 175, 65);
/* oklch */ color: oklch(76.4% 0.132 91.6);
Tailwind
colors: {
  custom: {
    50: '#e3c67b',
    500: '#d1af41',
    950: '#000000',
  },
}
SCSS
$custom: #d1af41;
$custom-light: #e3c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af41",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 45.833,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76432,
    "c": 0.1316,
    "h": 91.6
  },
  "luminance": 0.44597
}

Semantic roles & 50–950 ramp

primary
#D1AF41
secondary
#98A7D6
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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