#D3AF36#D3AF36

#D3AF36 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.139 H 91.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#D3AF36
RGBrgb(211, 175, 54)
HSLhsl(46, 64%, 52%)
HSVhsv(46, 74%, 83%)
CMYKcmyk(0%, 17.1%, 74.4%, 17.3%)
CIE-LABlab(72.75, 0.90, 63.15)
CIE-LCHlch(72.75, 63.16, 89.18°)
OKLaboklab(76.55% -0.004 0.139)
OKLCHoklch(76.55% 0.139 91.6)
XYZxyz(42.8622, 44.7778, 9.8747)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF36 #365AD3
analogous
#D36136 #D3AF36 #A9D336
triadic
#D3AF36 #36D3AF #AF36D3
tetradic
#D3AF36 #36D361 #365AD3 #D336A9
square
#D3AF36 #36D361 #365AD3 #D336A9
split-complementary
#D3AF36 #36A9D3 #6136D3
monochromatic
#75601A #A78925 #D3AF36 #DEC368 #E9D79A

Accessibility & contrast

On white

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

On black

9.95
#D3AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF36
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF36#FFFFFF#000000##000000
##D3AF361.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD22
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#E4A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af36;
/* rgb */ color: rgb(211, 175, 54);
/* oklch */ color: oklch(76.5% 0.139 91.6);
Tailwind
colors: {
  custom: {
    50: '#e5c675',
    500: '#d3af36',
    950: '#000000',
  },
}
SCSS
$custom: #d3af36;
$custom-light: #e5c675;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af36",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 46.242,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76546,
    "c": 0.13907,
    "h": 91.6
  },
  "luminance": 0.44775
}

Semantic roles & 50–950 ramp

primary
#D3AF36
secondary
#90A0D5
accent
#67E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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