#8A7941#8A7941

#8A7941 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.078 H 92.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7941
RGBrgb(138, 121, 65)
HSLhsl(46, 36%, 40%)
HSVhsv(46, 53%, 54%)
CMYKcmyk(0%, 12.3%, 52.9%, 45.9%)
CIE-LABlab(51.22, -1.17, 32.86)
CIE-LCHlch(51.22, 32.88, 92.04°)
OKLaboklab(57.91% -0.004 0.0782)
OKLCHoklch(57.91% 0.078 92.9)
XYZxyz(18.2734, 19.4605, 7.7937)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7941 #41528A
analogous
#8A5441 #8A7941 #778A41
triadic
#8A7941 #418A79 #79418A
tetradic
#8A7941 #418A54 #41528A #8A4177
square
#8A7941 #418A54 #41528A #8A4177
split-complementary
#8A7941 #41778A #54418A
monochromatic
#37301A #60552D #8A7941 #B09C58 #C4B482

Accessibility & contrast

On white

4.29
#8A7941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A7941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7941
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7941#FFFFFF#000000##000000
##8A79411.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773C
Deuteranopia (green-blind)
#887C43
Tritanopia (blue-blind)
#94716C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7941;
/* rgb */ color: rgb(138, 121, 65);
/* oklch */ color: oklch(57.9% 0.078 92.9);
Tailwind
colors: {
  custom: {
    50: '#ae9f77',
    500: '#8a7941',
    950: '#000000',
  },
}
SCSS
$custom: #8a7941;
$custom-light: #ae9f77;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7941",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 46.027,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.07825,
    "h": 92.9
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#8A7941
secondary
#7885AE
accent
#76CC5C
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #8A7941

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

Preview Lab → · Contrast checker → · Palette generator →

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