#D3AF2F#D3AF2F

#D3AF2F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.143 H 92.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D3AF2F
RGBrgb(211, 175, 47)
HSLhsl(47, 65%, 51%)
HSVhsv(47, 78%, 83%)
CMYKcmyk(0%, 17.1%, 77.7%, 17.3%)
CIE-LABlab(72.70, 0.62, 65.59)
CIE-LCHlch(72.70, 65.59, 89.46°)
OKLaboklab(76.5% -0.0055 0.1428)
OKLCHoklch(76.5% 0.143 92.2)
XYZxyz(42.7095, 44.7167, 9.0704)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF2F #2F53D3
analogous
#D35D2F #D3AF2F #A5D32F
triadic
#D3AF2F #2FD3AF #AF2FD3
tetradic
#D3AF2F #2FD35D #2F53D3 #D32FA5
square
#D3AF2F #2FD35D #2F53D3 #D32FA5
split-complementary
#D3AF2F #2FA5D3 #5D2FD3
monochromatic
#705D18 #A28622 #D3AF2F #DEC262 #E8D694

Accessibility & contrast

On white

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

On black

9.94
#D3AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF2F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF2F#FFFFFF#000000##000000
##D3AF2F1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC13
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af2f;
/* rgb */ color: rgb(211, 175, 47);
/* oklch */ color: oklch(76.5% 0.143 92.2);
Tailwind
colors: {
  custom: {
    50: '#e5c672',
    500: '#d3af2f',
    950: '#000000',
  },
}
SCSS
$custom: #d3af2f;
$custom-light: #e5c672;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af2f",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 46.829,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.14292,
    "h": 92.2
  },
  "luminance": 0.44714
}

Semantic roles & 50–950 ramp

primary
#D3AF2F
secondary
#8A9AD3
accent
#65E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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