#8A7B41#8A7B41

#8A7B41 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.080 H 95.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A7B41
RGBrgb(138, 123, 65)
HSLhsl(48, 36%, 40%)
HSVhsv(48, 53%, 54%)
CMYKcmyk(0%, 10.9%, 52.9%, 45.9%)
CIE-LABlab(51.78, -2.30, 33.54)
CIE-LCHlch(51.78, 33.61, 93.92°)
OKLaboklab(58.36% -0.0073 0.0796)
OKLCHoklch(58.36% 0.08 95.2)
XYZxyz(18.5190, 19.9516, 7.8756)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B41 #41508A
analogous
#8A5641 #8A7B41 #758A41
triadic
#8A7B41 #418A7B #7B418A
tetradic
#8A7B41 #418A56 #41508A #8A4175
square
#8A7B41 #418A56 #41508A #8A4175
split-complementary
#8A7B41 #41758A #56418A
monochromatic
#37311A #60562D #8A7B41 #B09E58 #C4B682

Accessibility & contrast

On white

4.21
#8A7B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A7B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B41
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B41#FFFFFF#000000##000000
##8A7B411.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85793C
Deuteranopia (green-blind)
#897E43
Tritanopia (blue-blind)
#94736D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7b41;
/* rgb */ color: rgb(138, 123, 65);
/* oklch */ color: oklch(58.4% 0.080 95.2);
Tailwind
colors: {
  custom: {
    50: '#aea177',
    500: '#8a7b41',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b41;
$custom-light: #aea177;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b41",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 47.671,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.07997,
    "h": 95.2
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#8A7B41
secondary
#7883AE
accent
#73CC5C
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #8A7B41

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

Preview Lab → · Contrast checker → · Palette generator →

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