#AD8A1F#AD8A1F

#AD8A1F is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.9% C 0.123 H 89.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AD8A1F
RGBrgb(173, 138, 31)
HSLhsl(45, 70%, 40%)
HSVhsv(45, 82%, 68%)
CMYKcmyk(0%, 20.2%, 82.1%, 32.2%)
CIE-LABlab(59.12, 3.12, 57.25)
CIE-LCHlch(59.12, 57.33, 86.88°)
OKLaboklab(64.88% 0.0021 0.1234)
OKLCHoklch(64.88% 0.123 89)
XYZxyz(26.5710, 27.1619, 5.1393)
Luminance0.2716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD8A1F #1F42AD
analogous
#AD431F #AD8A1F #89AD1F
triadic
#AD8A1F #1FAD8A #8A1FAD
tetradic
#AD8A1F #1FAD43 #1F42AD #AD1F89
square
#AD8A1F #1FAD43 #1F42AD #AD1F89
split-complementary
#AD8A1F #1F89AD #431FAD
monochromatic
#45370C #796116 #AD8A1F #DAB02F #E3C463

Accessibility & contrast

On white

3.26
#AD8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AD8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD8A1F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD8A1F#FFFFFF#000000##000000
##AD8A1F1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8902
Deuteranopia (green-blind)
#A49226
Tritanopia (blue-blind)
#BC7D76
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ad8a1f;
/* rgb */ color: rgb(173, 138, 31);
/* oklch */ color: oklch(64.9% 0.123 89.0);
Tailwind
colors: {
  custom: {
    50: '#caab65',
    500: '#ad8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #ad8a1f;
$custom-light: #caab65;
$custom-dark: #000000;
JSON
{
  "hex": "#ad8a1f",
  "rgb": {
    "r": 173,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 45.211,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.64881,
    "c": 0.1234,
    "h": 89
  },
  "luminance": 0.2716
}

Semantic roles & 50–950 ramp

primary
#AD8A1F
secondary
#6079C8
accent
#67EC3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AD8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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