#8A7A3A#8A7A3A

#8A7A3A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.086 H 95.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A7A3A
RGBrgb(138, 122, 58)
HSLhsl(48, 41%, 38%)
HSVhsv(48, 58%, 54%)
CMYKcmyk(0%, 11.6%, 58%, 45.9%)
CIE-LABlab(51.41, -2.36, 36.76)
CIE-LCHlch(51.41, 36.83, 93.68°)
OKLaboklab(58.04% -0.0083 0.0859)
OKLCHoklch(58.04% 0.086 95.5)
XYZxyz(18.2052, 19.6286, 6.8319)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A3A #3A4A8A
analogous
#8A523A #8A7A3A #728A3A
triadic
#8A7A3A #3A8A7A #7A3A8A
tetradic
#8A7A3A #3A8A52 #3A4A8A #8A3A72
square
#8A7A3A #3A8A52 #3A4A8A #8A3A72
split-complementary
#8A7A3A #3A728A #523A8A
monochromatic
#342E16 #5F5428 #8A7A3A #B4A04D #C6B778

Accessibility & contrast

On white

4.26
#8A7A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A7A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A3A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A3A#FFFFFF#000000##000000
##8A7A3A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857834
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#94726C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a3a;
/* rgb */ color: rgb(138, 122, 58);
/* oklch */ color: oklch(58.0% 0.086 95.5);
Tailwind
colors: {
  custom: {
    50: '#aea072',
    500: '#8a7a3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a3a;
$custom-light: #aea072;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a3a",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 48,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.08633,
    "h": 95.5
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#8A7A3A
secondary
#707DB0
accent
#6FD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A7A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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