#D1AF45#D1AF45

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

Color values

HEX#D1AF45
RGBrgb(209, 175, 69)
HSLhsl(45, 60%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.3%, 67%, 18%)
CIE-LABlab(72.66, 0.79, 56.98)
CIE-LCHlch(72.66, 56.98, 89.20°)
OKLaboklab(76.47% -0.0024 0.1287)
OKLCHoklch(76.47% 0.129 91.1)
XYZxyz(42.7008, 44.6474, 11.9977)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF45 #4567D1
analogous
#D16945 #D1AF45 #ADD145
triadic
#D1AF45 #45D1AF #AF45D1
tetradic
#D1AF45 #45D169 #4567D1 #D145AD
square
#D1AF45 #45D169 #4567D1 #D145AD
split-complementary
#D1AF45 #45ADD1 #6945D1
monochromatic
#7D661F #AE8E2B #D1AF45 #DDC476 #E9D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1AF45#FFFFFF#000000##000000
##D1AF451.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)
#C1AD38
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#E2A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af45;
/* rgb */ color: rgb(209, 175, 69);
/* oklch */ color: oklch(76.5% 0.129 91.1);
Tailwind
colors: {
  custom: {
    50: '#e3c67e',
    500: '#d1af45',
    950: '#000000',
  },
}
SCSS
$custom: #d1af45;
$custom-light: #e3c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af45",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 45.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76468,
    "c": 0.12873,
    "h": 91.1
  },
  "luminance": 0.44645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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