#D3AF3A#D3AF3A

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

Color values

HEX#D3AF3A
RGBrgb(211, 175, 58)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 73%, 83%)
CMYKcmyk(0%, 17.1%, 72.5%, 17.3%)
CIE-LABlab(72.77, 1.08, 61.66)
CIE-LCHlch(72.77, 61.67, 88.99°)
OKLaboklab(76.58% -0.003 0.1366)
OKLCHoklch(76.58% 0.137 91.3)
XYZxyz(42.9600, 44.8169, 10.3899)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF3A #3A5ED3
analogous
#D3623A #D3AF3A #ABD33A
triadic
#D3AF3A #3AD3AF #AF3AD3
tetradic
#D3AF3A #3AD362 #3A5ED3 #D33AAB
square
#D3AF3A #3AD362 #3A5ED3 #D33AAB
split-complementary
#D3AF3A #3AABD3 #623AD3
monochromatic
#78621B #AA8B26 #D3AF3A #DEC36C #E9D89E

Accessibility & contrast

On white

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

On black

9.96
#D3AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF3A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF3A#FFFFFF#000000##000000
##D3AF3A1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3af3a;
/* rgb */ color: rgb(211, 175, 58);
/* oklch */ color: oklch(76.6% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5c678',
    500: '#d3af3a',
    950: '#000000',
  },
}
SCSS
$custom: #d3af3a;
$custom-light: #e5c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af3a",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 45.882,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76575,
    "c": 0.13664,
    "h": 91.3
  },
  "luminance": 0.44814
}

Semantic roles & 50–950 ramp

primary
#D3AF3A
secondary
#93A3D6
accent
#68E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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