#D3AD2E#D3AD2E

#D3AD2E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.1% C 0.142 H 91.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#D3AD2E
RGBrgb(211, 173, 46)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 78%, 83%)
CMYKcmyk(0%, 18%, 78.2%, 17.3%)
CIE-LABlab(72.19, 1.64, 65.45)
CIE-LCHlch(72.19, 65.47, 88.56°)
OKLaboklab(76.09% -0.0027 0.1423)
OKLCHoklch(76.09% 0.142 91.1)
XYZxyz(42.3032, 43.9360, 8.8366)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AD2E #2E54D3
analogous
#D35B2E #D3AD2E #A6D32E
triadic
#D3AD2E #2ED3AD #AD2ED3
tetradic
#D3AD2E #2ED35B #2E54D3 #D32EA6
square
#D3AD2E #2ED35B #2E54D3 #D32EA6
split-complementary
#D3AD2E #2EA6D3 #5B2ED3
monochromatic
#6F5B17 #A28422 #D3AD2E #DEC161 #E8D593

Accessibility & contrast

On white

2.15
#D3AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#D3AD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AD2E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AD2E#FFFFFF#000000##000000
##D3AD2E1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#E59E95
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d3ad2e;
/* rgb */ color: rgb(211, 173, 46);
/* oklch */ color: oklch(76.1% 0.142 91.1);
Tailwind
colors: {
  custom: {
    50: '#e5c571',
    500: '#d3ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #d3ad2e;
$custom-light: #e5c571;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ad2e",
  "rgb": {
    "r": 211,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 46.182,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7609,
    "c": 0.14233,
    "h": 91.1
  },
  "luminance": 0.43933
}

Semantic roles & 50–950 ramp

primary
#D3AD2E
secondary
#8A9BD3
accent
#66E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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