#D1AF44#D1AF44

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

Color values

HEX#D1AF44
RGBrgb(209, 175, 68)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 16.3%, 67.5%, 18%)
CIE-LABlab(72.65, 0.74, 57.40)
CIE-LCHlch(72.65, 57.40, 89.26°)
OKLaboklab(76.46% -0.0027 0.1294)
OKLCHoklch(76.46% 0.129 91.2)
XYZxyz(42.6701, 44.6351, 11.8356)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF44 #4466D1
analogous
#D16944 #D1AF44 #ADD144
triadic
#D1AF44 #44D1AF #AF44D1
tetradic
#D1AF44 #44D169 #4466D1 #D144AD
square
#D1AF44 #44D169 #4466D1 #D144AD
split-complementary
#D1AF44 #44ADD1 #6944D1
monochromatic
#7C661F #AD8E2B #D1AF44 #DDC475 #E9D9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1AF44#FFFFFF#000000##000000
##D1AF441.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#E2A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af44;
/* rgb */ color: rgb(209, 175, 68);
/* oklch */ color: oklch(76.5% 0.129 91.2);
Tailwind
colors: {
  custom: {
    50: '#e3c67d',
    500: '#d1af44',
    950: '#000000',
  },
}
SCSS
$custom: #d1af44;
$custom-light: #e3c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af44",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 68
  },
  "hsl": {
    "h": 45.532,
    "s": 60.515,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.12947,
    "h": 91.2
  },
  "luminance": 0.44633
}

Semantic roles & 50–950 ramp

primary
#D1AF44
secondary
#9AA9D6
accent
#6BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1AF44

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

Preview Lab → · Contrast checker → · Palette generator →

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