#D3AE2D#D3AE2D

#D3AE2D is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.143 H 91.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#D3AE2D
RGBrgb(211, 174, 45)
HSLhsl(47, 65%, 50%)
HSVhsv(47, 79%, 83%)
CMYKcmyk(0%, 17.5%, 78.7%, 17.3%)
CIE-LABlab(72.44, 1.08, 66.01)
CIE-LCHlch(72.44, 66.02, 89.07°)
OKLaboklab(76.29% -0.0044 0.1433)
OKLCHoklch(76.29% 0.143 91.8)
XYZxyz(42.4762, 44.3131, 8.7981)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AE2D #2D52D3
analogous
#D35B2D #D3AE2D #A5D32D
triadic
#D3AE2D #2DD3AE #AE2DD3
tetradic
#D3AE2D #2DD35B #2D52D3 #D32DA5
square
#D3AE2D #2DD35B #2D52D3 #D32DA5
split-complementary
#D3AE2D #2DA5D3 #5B2DD3
monochromatic
#6E5B17 #A18522 #D3AE2D #DEC260 #E8D592

Accessibility & contrast

On white

2.13
#D3AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#D3AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AE2D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AE2D#FFFFFF#000000##000000
##D3AE2D1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC0F
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#E59F96
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3ae2d;
/* rgb */ color: rgb(211, 174, 45);
/* oklch */ color: oklch(76.3% 0.143 91.8);
Tailwind
colors: {
  custom: {
    50: '#e5c571',
    500: '#d3ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #d3ae2d;
$custom-light: #e5c571;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ae2d",
  "rgb": {
    "r": 211,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 46.627,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76287,
    "c": 0.14337,
    "h": 91.8
  },
  "luminance": 0.4431
}

Semantic roles & 50–950 ramp

primary
#D3AE2D
secondary
#8999D3
accent
#65E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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