#D3AF22#D3AF22

#D3AF22 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.149 H 93.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#D3AF22
RGBrgb(211, 175, 34)
HSLhsl(48, 72%, 48%)
HSVhsv(48, 84%, 83%)
CMYKcmyk(0%, 17.1%, 83.9%, 17.3%)
CIE-LABlab(72.65, 0.21, 69.46)
CIE-LCHlch(72.65, 69.46, 89.83°)
OKLaboklab(76.44% -0.0078 0.1485)
OKLCHoklch(76.44% 0.149 93)
XYZxyz(42.4852, 44.6270, 7.8892)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF22 #2246D3
analogous
#D35722 #D3AF22 #9ED322
triadic
#D3AF22 #22D3AF #AF22D3
tetradic
#D3AF22 #22D357 #2246D3 #D3229E
square
#D3AF22 #22D357 #2246D3 #D3229E
split-complementary
#D3AF22 #229ED3 #5722D3
monochromatic
#6A5811 #9E831A #D3AF22 #E3C54F #EBD684

Accessibility & contrast

On white

2.12
#D3AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#D3AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AF22
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AF22#FFFFFF#000000##000000
##D3AF221.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#CCB72D
Tritanopia (blue-blind)
#E5A096
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af22;
/* rgb */ color: rgb(211, 175, 34);
/* oklch */ color: oklch(76.4% 0.149 93.0);
Tailwind
colors: {
  custom: {
    50: '#e5c66c',
    500: '#d3af22',
    950: '#000000',
  },
}
SCSS
$custom: #d3af22;
$custom-light: #e5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af22",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 47.797,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76436,
    "c": 0.14873,
    "h": 93
  },
  "luminance": 0.44624
}

Semantic roles & 50–950 ramp

primary
#D3AF22
secondary
#7D8ED4
accent
#5EEF39
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#171208
muted
#85817A

Preview Lab

Preview with #D3AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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