#8A7A41#8A7A41

#8A7A41 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.079 H 94.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A7A41
RGBrgb(138, 122, 65)
HSLhsl(47, 36%, 40%)
HSVhsv(47, 53%, 54%)
CMYKcmyk(0%, 11.6%, 52.9%, 45.9%)
CIE-LABlab(51.50, -1.74, 33.20)
CIE-LCHlch(51.50, 33.24, 92.99°)
OKLaboklab(58.14% -0.0056 0.0789)
OKLCHoklch(58.14% 0.079 94.1)
XYZxyz(18.3955, 19.7048, 7.8344)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A41 #41518A
analogous
#8A5541 #8A7A41 #768A41
triadic
#8A7A41 #418A7A #7A418A
tetradic
#8A7A41 #418A55 #41518A #8A4176
square
#8A7A41 #418A55 #41518A #8A4176
split-complementary
#8A7A41 #41768A #55418A
monochromatic
#37301A #60552D #8A7A41 #B09D58 #C4B582

Accessibility & contrast

On white

4.25
#8A7A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A7A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A41
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A41#FFFFFF#000000##000000
##8A7A411.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#897D43
Tritanopia (blue-blind)
#94726D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7a41;
/* rgb */ color: rgb(138, 122, 65);
/* oklch */ color: oklch(58.1% 0.079 94.1);
Tailwind
colors: {
  custom: {
    50: '#aea077',
    500: '#8a7a41',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a41;
$custom-light: #aea077;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a41",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 46.849,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.07909,
    "h": 94.1
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#8A7A41
secondary
#7884AE
accent
#74CC5C
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #8A7A41

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

Preview Lab → · Contrast checker → · Palette generator →

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