#AD9731#AD9731

#AD9731 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.121 H 96.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AD9731
RGBrgb(173, 151, 49)
HSLhsl(49, 56%, 44%)
HSVhsv(49, 72%, 68%)
CMYKcmyk(0%, 12.7%, 71.7%, 32.2%)
CIE-LABlab(62.71, -3.22, 54.03)
CIE-LCHlch(62.71, 54.13, 93.41°)
OKLaboklab(67.75% -0.0141 0.1202)
OKLCHoklch(67.75% 0.121 96.7)
XYZxyz(28.8560, 31.2407, 7.4153)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9731 #3147AD
analogous
#AD5931 #AD9731 #85AD31
triadic
#AD9731 #31AD97 #9731AD
tetradic
#AD9731 #31AD59 #3147AD #AD3185
square
#AD9731 #31AD59 #3147AD #AD3185
split-complementary
#AD9731 #3185AD #5931AD
monochromatic
#4E4416 #7D6D23 #AD9731 #CDB64E #DACA7E

Accessibility & contrast

On white

2.90
#AD9731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AD9731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9731
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9731#FFFFFF#000000##000000
##AD97311.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69422
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#BB8B83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9731;
/* rgb */ color: rgb(173, 151, 49);
/* oklch */ color: oklch(67.7% 0.121 96.7);
Tailwind
colors: {
  custom: {
    50: '#c9b570',
    500: '#ad9731',
    950: '#000000',
  },
}
SCSS
$custom: #ad9731;
$custom-light: #c9b570;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9731",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 49.355,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.12107,
    "h": 96.7
  },
  "luminance": 0.31239
}

Semantic roles & 50–950 ramp

primary
#AD9731
secondary
#7784C3
accent
#63DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9731

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

Preview Lab → · Contrast checker → · Palette generator →

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