#8A772E#8A772E

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

Color values

HEX#8A772E
RGBrgb(138, 119, 46)
HSLhsl(48, 50%, 36%)
HSVhsv(48, 67%, 54%)
CMYKcmyk(0%, 13.8%, 66.7%, 45.9%)
CIE-LABlab(50.45, -1.57, 41.60)
CIE-LCHlch(50.45, 41.63, 92.16°)
OKLaboklab(57.23% -0.0076 0.0946)
OKLCHoklch(57.23% 0.095 94.6)
XYZxyz(17.5720, 18.7951, 5.2865)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A772E #2E418A
analogous
#8A492E #8A772E #6F8A2E
triadic
#8A772E #2E8A77 #772E8A
tetradic
#8A772E #2E8A49 #2E418A #8A2E6F
square
#8A772E #2E8A49 #2E418A #8A2E6F
split-complementary
#8A772E #2E6F8A #492E8A
monochromatic
#2E280F #5C4F1F #8A772E #B89F3D #CCB766

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A772E#FFFFFF#000000##000000
##8A772E1.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)
#837525
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#956E68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a772e;
/* rgb */ color: rgb(138, 119, 46);
/* oklch */ color: oklch(57.2% 0.095 94.6);
Tailwind
colors: {
  custom: {
    50: '#af9e6a',
    500: '#8a772e',
    950: '#000000',
  },
}
SCSS
$custom: #8a772e;
$custom-light: #af9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a772e",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 47.609,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.0949,
    "h": 94.6
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#8A772E
secondary
#6172B3
accent
#6BDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A772E

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

Preview Lab → · Contrast checker → · Palette generator →

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