#8A772C#8A772C

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

Color values

HEX#8A772C
RGBrgb(138, 119, 44)
HSLhsl(48, 52%, 36%)
HSVhsv(48, 68%, 54%)
CMYKcmyk(0%, 13.8%, 68.1%, 45.9%)
CIE-LABlab(50.43, -1.70, 42.51)
CIE-LCHlch(50.43, 42.55, 92.29°)
OKLaboklab(57.21% -0.0082 0.0962)
OKLCHoklch(57.21% 0.097 94.9)
XYZxyz(17.5335, 18.7797, 5.0837)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A772C #2C3F8A
analogous
#8A482C #8A772C #6E8A2C
triadic
#8A772C #2C8A77 #772C8A
tetradic
#8A772C #2C8A48 #2C3F8A #8A2C6E
square
#8A772C #2C8A48 #2C3F8A #8A2C6E
split-complementary
#8A772C #2C6E8A #482C8A
monochromatic
#2D270E #5C4F1D #8A772C #B89F3B #CDB863

Accessibility & contrast

On white

4.42
#8A772C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A772C#FFFFFF#000000##000000
##8A772C1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a772c;
/* rgb */ color: rgb(138, 119, 44);
/* oklch */ color: oklch(57.2% 0.097 94.9);
Tailwind
colors: {
  custom: {
    50: '#af9d69',
    500: '#8a772c',
    950: '#000000',
  },
}
SCSS
$custom: #8a772c;
$custom-light: #af9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a772c",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 47.872,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.09656,
    "h": 94.9
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#8A772C
secondary
#5E6FB4
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A772C

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

Preview Lab → · Contrast checker → · Palette generator →

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