#8A7E41#8A7E41

#8A7E41 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.083 H 98.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A7E41
RGBrgb(138, 126, 65)
HSLhsl(50, 36%, 40%)
HSVhsv(50, 53%, 54%)
CMYKcmyk(0%, 8.7%, 52.9%, 45.9%)
CIE-LABlab(52.63, -3.99, 34.55)
CIE-LCHlch(52.63, 34.78, 96.58°)
OKLaboklab(59.03% -0.0121 0.0819)
OKLCHoklch(59.03% 0.083 98.4)
XYZxyz(18.8968, 20.7074, 8.0015)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E41 #414D8A
analogous
#8A5A41 #8A7E41 #728A41
triadic
#8A7E41 #418A7E #7E418A
tetradic
#8A7E41 #418A5A #414D8A #8A4172
square
#8A7E41 #418A5A #414D8A #8A4172
split-complementary
#8A7E41 #41728A #5A418A
monochromatic
#37321A #60582D #8A7E41 #B0A258 #C4B982

Accessibility & contrast

On white

4.08
#8A7E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A7E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E41
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E41#FFFFFF#000000##000000
##8A7E411.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#8C7F44
Tritanopia (blue-blind)
#937670
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7e41;
/* rgb */ color: rgb(138, 126, 65);
/* oklch */ color: oklch(59.0% 0.083 98.4);
Tailwind
colors: {
  custom: {
    50: '#aea377',
    500: '#8a7e41',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e41;
$custom-light: #aea377;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e41",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 50.137,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.08275,
    "h": 98.4
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#8A7E41
secondary
#7881AE
accent
#6ECC5C
background
#FAFAF7
surface
#F5F3ED
border
#CFCDC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A7E41

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

Preview Lab → · Contrast checker → · Palette generator →

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