#8A7731#8A7731

#8A7731 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.092 H 94.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A7731
RGBrgb(138, 119, 49)
HSLhsl(47, 48%, 37%)
HSVhsv(47, 64%, 54%)
CMYKcmyk(0%, 13.8%, 64.5%, 45.9%)
CIE-LABlab(50.48, -1.36, 40.20)
CIE-LCHlch(50.48, 40.22, 91.94°)
OKLaboklab(57.26% -0.0066 0.0921)
OKLCHoklch(57.26% 0.092 94.1)
XYZxyz(17.6332, 18.8196, 5.6089)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7731 #31448A
analogous
#8A4B31 #8A7731 #718A31
triadic
#8A7731 #318A77 #77318A
tetradic
#8A7731 #318A4B #31448A #8A3171
square
#8A7731 #318A4B #31448A #8A3171
split-complementary
#8A7731 #31718A #4B318A
monochromatic
#302911 #5D5021 #8A7731 #B79E41 #CAB66B

Accessibility & contrast

On white

4.41
#8A7731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A7731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7731
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7731#FFFFFF#000000##000000
##8A77311.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#956E68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7731;
/* rgb */ color: rgb(138, 119, 49);
/* oklch */ color: oklch(57.3% 0.092 94.1);
Tailwind
colors: {
  custom: {
    50: '#af9e6c',
    500: '#8a7731',
    950: '#000000',
  },
}
SCSS
$custom: #8a7731;
$custom-light: #af9e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7731",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 47.191,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.09232,
    "h": 94.1
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#8A7731
secondary
#6575B2
accent
#6DD751
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7731

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

Preview Lab → · Contrast checker → · Palette generator →

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