#8A773C#8A773C

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

Color values

HEX#8A773C
RGBrgb(138, 119, 60)
HSLhsl(45, 39%, 39%)
HSVhsv(45, 57%, 54%)
CMYKcmyk(0%, 13.8%, 56.5%, 45.9%)
CIE-LABlab(50.60, -0.49, 34.76)
CIE-LCHlch(50.60, 34.77, 90.81°)
OKLaboklab(57.4% -0.0026 0.0818)
OKLCHoklch(57.4% 0.082 91.8)
XYZxyz(17.8944, 18.9240, 6.9842)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A773C #3C4F8A
analogous
#8A503C #8A773C #768A3C
triadic
#8A773C #3C8A77 #773C8A
tetradic
#8A773C #3C8A50 #3C4F8A #8A3C76
square
#8A773C #3C8A50 #3C4F8A #8A3C76
split-complementary
#8A773C #3C768A #503C8A
monochromatic
#352D17 #5F5229 #8A773C #B39B50 #C6B37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A773C#FFFFFF#000000##000000
##8A773C1.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)
#827537
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a773c;
/* rgb */ color: rgb(138, 119, 60);
/* oklch */ color: oklch(57.4% 0.082 91.8);
Tailwind
colors: {
  custom: {
    50: '#ae9e73',
    500: '#8a773c',
    950: '#000000',
  },
}
SCSS
$custom: #8a773c;
$custom-light: #ae9e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a773c",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 60
  },
  "hsl": {
    "h": 45.385,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.08186,
    "h": 91.8
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#8A773C
secondary
#7381AF
accent
#75CF59
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A773C

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

Preview Lab → · Contrast checker → · Palette generator →

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