#8A7531#8A7531

#8A7531 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.8% C 0.091 H 92.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7531
RGBrgb(138, 117, 49)
HSLhsl(46, 48%, 37%)
HSVhsv(46, 64%, 54%)
CMYKcmyk(0%, 15.2%, 64.5%, 45.9%)
CIE-LABlab(49.92, -0.23, 39.58)
CIE-LCHlch(49.92, 39.58, 90.33°)
OKLaboklab(56.82% -0.0033 0.0908)
OKLCHoklch(56.82% 0.091 92.1)
XYZxyz(17.3977, 18.3485, 5.5304)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7531 #31468A
analogous
#8A4931 #8A7531 #738A31
triadic
#8A7531 #318A75 #75318A
tetradic
#8A7531 #318A49 #31468A #8A3173
square
#8A7531 #318A49 #31468A #8A3173
split-complementary
#8A7531 #31738A #49318A
monochromatic
#302811 #5D4F21 #8A7531 #B79B41 #CAB46B

Accessibility & contrast

On white

4.50
#8A7531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8A7531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7531
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7531#FFFFFF#000000##000000
##8A75311.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#956C66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7531;
/* rgb */ color: rgb(138, 117, 49);
/* oklch */ color: oklch(56.8% 0.091 92.1);
Tailwind
colors: {
  custom: {
    50: '#af9c6c',
    500: '#8a7531',
    950: '#000000',
  },
}
SCSS
$custom: #8a7531;
$custom-light: #af9c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7531",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 45.843,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.09084,
    "h": 92.1
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#8A7531
secondary
#6577B2
accent
#70D751
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7531

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

Preview Lab → · Contrast checker → · Palette generator →

#8A7531 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva