#D3AF3F#D3AF3F

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

Color values

HEX#D3AF3F
RGBrgb(211, 175, 63)
HSLhsl(45, 63%, 54%)
HSVhsv(45, 70%, 83%)
CMYKcmyk(0%, 17.1%, 70.1%, 17.3%)
CIE-LABlab(72.81, 1.33, 59.71)
CIE-LCHlch(72.81, 59.72, 88.73°)
OKLaboklab(76.61% -0.0017 0.1334)
OKLCHoklch(76.61% 0.133 90.8)
XYZxyz(43.0935, 44.8703, 11.0927)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF3F #3F63D3
analogous
#D3653F #D3AF3F #ADD33F
triadic
#D3AF3F #3FD3AF #AF3FD3
tetradic
#D3AF3F #3FD365 #3F63D3 #D33FAD
square
#D3AF3F #3FD365 #3F63D3 #D33FAD
split-complementary
#D3AF3F #3FADD3 #653FD3
monochromatic
#7B641C #AD8D28 #D3AF3F #DEC471 #EAD8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF3F#FFFFFF#000000##000000
##D3AF3F1.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)
#C2AD30
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3af3f;
/* rgb */ color: rgb(211, 175, 63);
/* oklch */ color: oklch(76.6% 0.133 90.8);
Tailwind
colors: {
  custom: {
    50: '#e4c67a',
    500: '#d3af3f',
    950: '#000000',
  },
}
SCSS
$custom: #d3af3f;
$custom-light: #e4c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af3f",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 45.405,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76614,
    "c": 0.1334,
    "h": 90.8
  },
  "luminance": 0.44868
}

Semantic roles & 50–950 ramp

primary
#D3AF3F
secondary
#97A7D7
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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