#D3AF3D#D3AF3D

#D3AF3D is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.135 H 91.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#D3AF3D
RGBrgb(211, 175, 61)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 71%, 83%)
CMYKcmyk(0%, 17.1%, 71.1%, 17.3%)
CIE-LABlab(72.79, 1.23, 60.50)
CIE-LCHlch(72.79, 60.51, 88.84°)
OKLaboklab(76.6% -0.0023 0.1347)
OKLCHoklch(76.6% 0.135 91)
XYZxyz(43.0386, 44.8483, 10.8037)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF3D #3D61D3
analogous
#D3643D #D3AF3D #ACD33D
triadic
#D3AF3D #3DD3AF #AF3DD3
tetradic
#D3AF3D #3DD364 #3D61D3 #D33DAC
square
#D3AF3D #3DD364 #3D61D3 #D33DAC
split-complementary
#D3AF3D #3DACD3 #643DD3
monochromatic
#7A631C #AC8C27 #D3AF3D #DEC46F #EAD8A1

Accessibility & contrast

On white

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

On black

9.97
#D3AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF3D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF3D#FFFFFF#000000##000000
##D3AF3D1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3af3d;
/* rgb */ color: rgb(211, 175, 61);
/* oklch */ color: oklch(76.6% 0.135 91.0);
Tailwind
colors: {
  custom: {
    50: '#e5c679',
    500: '#d3af3d',
    950: '#000000',
  },
}
SCSS
$custom: #d3af3d;
$custom-light: #e5c679;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af3d",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 45.6,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76598,
    "c": 0.13473,
    "h": 91
  },
  "luminance": 0.44846
}

Semantic roles & 50–950 ramp

primary
#D3AF3D
secondary
#96A5D6
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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