#8A773B#8A773B

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

Color values

HEX#8A773B
RGBrgb(138, 119, 59)
HSLhsl(46, 40%, 39%)
HSVhsv(46, 57%, 54%)
CMYKcmyk(0%, 13.8%, 57.2%, 45.9%)
CIE-LABlab(50.59, -0.58, 35.27)
CIE-LCHlch(50.59, 35.28, 90.94°)
OKLaboklab(57.39% -0.003 0.0828)
OKLCHoklch(57.39% 0.083 92.1)
XYZxyz(17.8682, 18.9136, 6.8463)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A773B #3B4E8A
analogous
#8A4F3B #8A773B #758A3B
triadic
#8A773B #3B8A77 #773B8A
tetradic
#8A773B #3B8A4F #3B4E8A #8A3B75
square
#8A773B #3B8A4F #3B4E8A #8A3B75
split-complementary
#8A773B #3B758A #4F3B8A
monochromatic
#342D16 #5F5229 #8A773B #B49B4F #C6B479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A773B#FFFFFF#000000##000000
##8A773B1.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)
#827535
Deuteranopia (green-blind)
#877B3D
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a773b;
/* rgb */ color: rgb(138, 119, 59);
/* oklch */ color: oklch(57.4% 0.083 92.1);
Tailwind
colors: {
  custom: {
    50: '#ae9e73',
    500: '#8a773b',
    950: '#000000',
  },
}
SCSS
$custom: #8a773b;
$custom-light: #ae9e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a773b",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 59
  },
  "hsl": {
    "h": 45.57,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.08287,
    "h": 92.1
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#8A773B
secondary
#7180AF
accent
#75D058
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A773B

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

Preview Lab → · Contrast checker → · Palette generator →

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