#D3AF39#D3AF39

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

Color values

HEX#D3AF39
RGBrgb(211, 175, 57)
HSLhsl(46, 64%, 53%)
HSVhsv(46, 73%, 83%)
CMYKcmyk(0%, 17.1%, 73%, 17.3%)
CIE-LABlab(72.76, 1.04, 62.04)
CIE-LCHlch(72.76, 62.05, 89.04°)
OKLaboklab(76.57% -0.0033 0.1372)
OKLCHoklch(76.57% 0.137 91.4)
XYZxyz(42.9349, 44.8068, 10.2573)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF39 #395DD3
analogous
#D36239 #D3AF39 #AAD339
triadic
#D3AF39 #39D3AF #AF39D3
tetradic
#D3AF39 #39D362 #395DD3 #D339AA
square
#D3AF39 #39D362 #395DD3 #D339AA
split-complementary
#D3AF39 #39AAD3 #6239D3
monochromatic
#77611A #A98A26 #D3AF39 #DEC36B #E9D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF39#FFFFFF#000000##000000
##D3AF391.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)
#C2AD27
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3af39;
/* rgb */ color: rgb(211, 175, 57);
/* oklch */ color: oklch(76.6% 0.137 91.4);
Tailwind
colors: {
  custom: {
    50: '#e5c677',
    500: '#d3af39',
    950: '#000000',
  },
}
SCSS
$custom: #d3af39;
$custom-light: #e5c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af39",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 45.974,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.13727,
    "h": 91.4
  },
  "luminance": 0.44804
}

Semantic roles & 50–950 ramp

primary
#D3AF39
secondary
#92A2D5
accent
#68E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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