#8A772D#8A772D

#8A772D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.096 H 94.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A772D
RGBrgb(138, 119, 45)
HSLhsl(48, 51%, 36%)
HSVhsv(48, 67%, 54%)
CMYKcmyk(0%, 13.8%, 67.4%, 45.9%)
CIE-LABlab(50.44, -1.64, 42.06)
CIE-LCHlch(50.44, 42.09, 92.23°)
OKLaboklab(57.22% -0.0079 0.0954)
OKLCHoklch(57.22% 0.096 94.7)
XYZxyz(17.5525, 18.7873, 5.1839)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A772D #2D408A
analogous
#8A482D #8A772D #6E8A2D
triadic
#8A772D #2D8A77 #772D8A
tetradic
#8A772D #2D8A48 #2D408A #8A2D6E
square
#8A772D #2D8A48 #2D408A #8A2D6E
split-complementary
#8A772D #2D6E8A #482D8A
monochromatic
#2E270F #5C4F1E #8A772D #B89F3C #CDB765

Accessibility & contrast

On white

4.41
#8A772D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A772D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A772D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A772D#FFFFFF#000000##000000
##8A772D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837524
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a772d;
/* rgb */ color: rgb(138, 119, 45);
/* oklch */ color: oklch(57.2% 0.096 94.7);
Tailwind
colors: {
  custom: {
    50: '#af9e6a',
    500: '#8a772d',
    950: '#000000',
  },
}
SCSS
$custom: #8a772d;
$custom-light: #af9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a772d",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 47.742,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.09573,
    "h": 94.7
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#8A772D
secondary
#6071B3
accent
#6ADA4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A772D

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

Preview Lab → · Contrast checker → · Palette generator →

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