#8A773A#8A773A

#8A773A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.084 H 92.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A773A
RGBrgb(138, 119, 58)
HSLhsl(46, 41%, 38%)
HSVhsv(46, 58%, 54%)
CMYKcmyk(0%, 13.8%, 58%, 45.9%)
CIE-LABlab(50.57, -0.66, 35.78)
CIE-LCHlch(50.57, 35.79, 91.06°)
OKLaboklab(57.37% -0.0034 0.0838)
OKLCHoklch(57.37% 0.084 92.3)
XYZxyz(17.8425, 18.9033, 6.7110)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A773A #3A4D8A
analogous
#8A4F3A #8A773A #758A3A
triadic
#8A773A #3A8A77 #773A8A
tetradic
#8A773A #3A8A4F #3A4D8A #8A3A75
square
#8A773A #3A8A4F #3A4D8A #8A3A75
split-complementary
#8A773A #3A758A #4F3A8A
monochromatic
#342D16 #5F5228 #8A773A #B49C4D #C6B478

Accessibility & contrast

On white

4.39
#8A773A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A773A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A773A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A773A#FFFFFF#000000##000000
##8A773A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#877B3C
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a773a;
/* rgb */ color: rgb(138, 119, 58);
/* oklch */ color: oklch(57.4% 0.084 92.3);
Tailwind
colors: {
  custom: {
    50: '#ae9e72',
    500: '#8a773a',
    950: '#000000',
  },
}
SCSS
$custom: #8a773a;
$custom-light: #ae9e72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a773a",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 58
  },
  "hsl": {
    "h": 45.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.08388,
    "h": 92.3
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#8A773A
secondary
#707FB0
accent
#74D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A773A

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

Preview Lab → · Contrast checker → · Palette generator →

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