#AD9D31#AD9D31

#AD9D31 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.126 H 100.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AD9D31
RGBrgb(173, 157, 49)
HSLhsl(52, 56%, 44%)
HSVhsv(52, 72%, 68%)
CMYKcmyk(0%, 9.2%, 71.7%, 32.2%)
CIE-LABlab(64.34, -6.44, 55.65)
CIE-LCHlch(64.34, 56.02, 96.60°)
OKLaboklab(69.04% -0.0233 0.1237)
OKLCHoklch(69.04% 0.126 100.7)
XYZxyz(29.8463, 33.2213, 7.7454)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9D31 #3141AD
analogous
#AD5F31 #AD9D31 #7FAD31
triadic
#AD9D31 #31AD9D #9D31AD
tetradic
#AD9D31 #31AD5F #3141AD #AD317F
square
#AD9D31 #31AD5F #3141AD #AD317F
split-complementary
#AD9D31 #317FAD #5F31AD
monochromatic
#4E4616 #7D7223 #AD9D31 #CDBD4E #DACF7E

Accessibility & contrast

On white

2.75
#AD9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AD9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9D31
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9D31#FFFFFF#000000##000000
##AD9D311.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#BA9288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad9d31;
/* rgb */ color: rgb(173, 157, 49);
/* oklch */ color: oklch(69.0% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#c9b970',
    500: '#ad9d31',
    950: '#000000',
  },
}
SCSS
$custom: #ad9d31;
$custom-light: #c9b970;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9d31",
  "rgb": {
    "r": 173,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 52.258,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69039,
    "c": 0.12582,
    "h": 100.7
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#AD9D31
secondary
#7780C3
accent
#5CDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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