#D3AF3E#D3AF3E

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

Color values

HEX#D3AF3E
RGBrgb(211, 175, 62)
HSLhsl(46, 63%, 54%)
HSVhsv(46, 71%, 83%)
CMYKcmyk(0%, 17.1%, 70.6%, 17.3%)
CIE-LABlab(72.80, 1.28, 60.10)
CIE-LCHlch(72.80, 60.12, 88.78°)
OKLaboklab(76.61% -0.002 0.1341)
OKLCHoklch(76.61% 0.134 90.9)
XYZxyz(43.0658, 44.8592, 10.9469)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF3E #3E62D3
analogous
#D3643E #D3AF3E #ADD33E
triadic
#D3AF3E #3ED3AF #AF3ED3
tetradic
#D3AF3E #3ED364 #3E62D3 #D33EAD
square
#D3AF3E #3ED364 #3E62D3 #D33EAD
split-complementary
#D3AF3E #3EADD3 #643ED3
monochromatic
#7B641C #AC8C27 #D3AF3E #DEC470 #EAD8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF3E#FFFFFF#000000##000000
##D3AF3E1.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)
#C2AD2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3af3e;
/* rgb */ color: rgb(211, 175, 62);
/* oklch */ color: oklch(76.6% 0.134 90.9);
Tailwind
colors: {
  custom: {
    50: '#e5c67a',
    500: '#d3af3e',
    950: '#000000',
  },
}
SCSS
$custom: #d3af3e;
$custom-light: #e5c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af3e",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 45.503,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76606,
    "c": 0.13408,
    "h": 90.9
  },
  "luminance": 0.44857
}

Semantic roles & 50–950 ramp

primary
#D3AF3E
secondary
#96A6D6
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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