#A39831#A39831

#A39831 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.122 H 103.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A39831
RGBrgb(163, 152, 49)
HSLhsl(54, 54%, 42%)
HSVhsv(54, 70%, 64%)
CMYKcmyk(0%, 6.7%, 69.9%, 36.1%)
CIE-LABlab(62.05, -8.21, 53.07)
CIE-LCHlch(62.05, 53.70, 98.80°)
OKLaboklab(67.01% -0.0277 0.1186)
OKLCHoklch(67.01% 0.122 103.2)
XYZxyz(26.8880, 30.4658, 7.3693)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39831 #313CA3
analogous
#A35F31 #A39831 #75A331
triadic
#A39831 #31A398 #9831A3
tetradic
#A39831 #31A35F #313CA3 #A33175
square
#A39831 #31A35F #313CA3 #A33175
split-complementary
#A39831 #3175A3 #5F31A3
monochromatic
#454015 #746C23 #A39831 #C8BC49 #D6CD78

Accessibility & contrast

On white

2.96
#A39831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A39831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39831
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39831#FFFFFF#000000##000000
##A398311.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#AF8D83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a39831;
/* rgb */ color: rgb(163, 152, 49);
/* oklch */ color: oklch(67.0% 0.122 103.2);
Tailwind
colors: {
  custom: {
    50: '#c1b66f',
    500: '#a39831',
    950: '#000000',
  },
}
SCSS
$custom: #a39831;
$custom-light: #c1b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a39831",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 54.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.12176,
    "h": 103.2
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#A39831
secondary
#7179BF
accent
#59DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A39831

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

Preview Lab → · Contrast checker → · Palette generator →

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