#D3AF38#D3AF38

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

Color values

HEX#D3AF38
RGBrgb(211, 175, 56)
HSLhsl(46, 64%, 52%)
HSVhsv(46, 73%, 83%)
CMYKcmyk(0%, 17.1%, 73.5%, 17.3%)
CIE-LABlab(72.76, 0.99, 62.41)
CIE-LCHlch(72.76, 62.42, 89.09°)
OKLaboklab(76.56% -0.0035 0.1378)
OKLCHoklch(76.56% 0.138 91.5)
XYZxyz(42.9102, 44.7970, 10.1272)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF38 #385CD3
analogous
#D36238 #D3AF38 #A9D338
triadic
#D3AF38 #38D3AF #AF38D3
tetradic
#D3AF38 #38D362 #385CD3 #D338A9
square
#D3AF38 #38D362 #385CD3 #D338A9
split-complementary
#D3AF38 #38A9D3 #6238D3
monochromatic
#76611A #A98A25 #D3AF38 #DEC36A #E9D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF38#FFFFFF#000000##000000
##D3AF381.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)
#C2AD25
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#E4A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af38;
/* rgb */ color: rgb(211, 175, 56);
/* oklch */ color: oklch(76.6% 0.138 91.5);
Tailwind
colors: {
  custom: {
    50: '#e5c676',
    500: '#d3af38',
    950: '#000000',
  },
}
SCSS
$custom: #d3af38;
$custom-light: #e5c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af38",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 46.065,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7656,
    "c": 0.13787,
    "h": 91.5
  },
  "luminance": 0.44794
}

Semantic roles & 50–950 ramp

primary
#D3AF38
secondary
#92A1D5
accent
#68E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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