#8A7631#8A7631

#8A7631 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.092 H 93.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A7631
RGBrgb(138, 118, 49)
HSLhsl(47, 48%, 37%)
HSVhsv(47, 64%, 54%)
CMYKcmyk(0%, 14.5%, 64.5%, 45.9%)
CIE-LABlab(50.20, -0.80, 39.89)
CIE-LCHlch(50.20, 39.90, 91.14°)
OKLaboklab(57.04% -0.0049 0.0914)
OKLCHoklch(57.04% 0.092 93.1)
XYZxyz(17.5149, 18.5828, 5.5694)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7631 #31458A
analogous
#8A4A31 #8A7631 #728A31
triadic
#8A7631 #318A76 #76318A
tetradic
#8A7631 #318A4A #31458A #8A3172
square
#8A7631 #318A4A #31458A #8A3172
split-complementary
#8A7631 #31728A #4A318A
monochromatic
#302911 #5D4F21 #8A7631 #B79D41 #CAB56B

Accessibility & contrast

On white

4.45
#8A7631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A7631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7631
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7631#FFFFFF#000000##000000
##8A76311.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#956D67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7631;
/* rgb */ color: rgb(138, 118, 49);
/* oklch */ color: oklch(57.0% 0.092 93.1);
Tailwind
colors: {
  custom: {
    50: '#af9d6c',
    500: '#8a7631',
    950: '#000000',
  },
}
SCSS
$custom: #8a7631;
$custom-light: #af9d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7631",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 49
  },
  "hsl": {
    "h": 46.517,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.09157,
    "h": 93.1
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#8A7631
secondary
#6576B2
accent
#6FD751
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7631

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

Preview Lab → · Contrast checker → · Palette generator →

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