#D3AF41#D3AF41

#D3AF41 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.132 H 90.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#D3AF41
RGBrgb(211, 175, 65)
HSLhsl(45, 62%, 54%)
HSVhsv(45, 69%, 83%)
CMYKcmyk(0%, 17.1%, 69.2%, 17.3%)
CIE-LABlab(72.82, 1.43, 58.90)
CIE-LCHlch(72.82, 58.91, 88.61°)
OKLaboklab(76.63% -0.0012 0.132)
OKLCHoklch(76.63% 0.132 90.5)
XYZxyz(43.1504, 44.8930, 11.3924)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF41 #4165D3
analogous
#D36641 #D3AF41 #AED341
triadic
#D3AF41 #41D3AF #AF41D3
tetradic
#D3AF41 #41D366 #4165D3 #D341AE
square
#D3AF41 #41D366 #4165D3 #D341AE
split-complementary
#D3AF41 #41AED3 #6641D3
monochromatic
#7D651D #AE8D28 #D3AF41 #DFC473 #EAD9A4

Accessibility & contrast

On white

2.10
#D3AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#D3AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF41
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF41#FFFFFF#000000##000000
##D3AF411.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3af41;
/* rgb */ color: rgb(211, 175, 65);
/* oklch */ color: oklch(76.6% 0.132 90.5);
Tailwind
colors: {
  custom: {
    50: '#e4c67b',
    500: '#d3af41',
    950: '#000000',
  },
}
SCSS
$custom: #d3af41;
$custom-light: #e4c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af41",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 45.205,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7663,
    "c": 0.13205,
    "h": 90.5
  },
  "luminance": 0.4489
}

Semantic roles & 50–950 ramp

primary
#D3AF41
secondary
#99A8D7
accent
#6BE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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