#A39731#A39731

#A39731 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.8% C 0.121 H 102.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A39731
RGBrgb(163, 151, 49)
HSLhsl(54, 54%, 42%)
HSVhsv(54, 70%, 64%)
CMYKcmyk(0%, 7.4%, 69.9%, 36.1%)
CIE-LABlab(61.78, -7.68, 52.79)
CIE-LCHlch(61.78, 53.35, 98.27°)
OKLaboklab(66.79% -0.0262 0.118)
OKLCHoklch(66.79% 0.121 102.5)
XYZxyz(26.7264, 30.1426, 7.3154)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39731 #313DA3
analogous
#A35E31 #A39731 #76A331
triadic
#A39731 #31A397 #9731A3
tetradic
#A39731 #31A35E #313DA3 #A33176
square
#A39731 #31A35E #313DA3 #A33176
split-complementary
#A39731 #3176A3 #5E31A3
monochromatic
#454015 #746B23 #A39731 #C8BB49 #D6CC78

Accessibility & contrast

On white

2.99
#A39731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A39731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39731
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39731#FFFFFF#000000##000000
##A397311.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59222
Deuteranopia (green-blind)
#A89837
Tritanopia (blue-blind)
#AF8C82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a39731;
/* rgb */ color: rgb(163, 151, 49);
/* oklch */ color: oklch(66.8% 0.121 102.5);
Tailwind
colors: {
  custom: {
    50: '#c1b56f',
    500: '#a39731',
    950: '#000000',
  },
}
SCSS
$custom: #a39731;
$custom-light: #c1b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a39731",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 53.684,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.12084,
    "h": 102.5
  },
  "luminance": 0.30141
}

Semantic roles & 50–950 ramp

primary
#A39731
secondary
#7179BF
accent
#5ADD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A39731

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

Preview Lab → · Contrast checker → · Palette generator →

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