#8A772A#8A772A

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

Color values

HEX#8A772A
RGBrgb(138, 119, 42)
HSLhsl(48, 53%, 35%)
HSVhsv(48, 70%, 54%)
CMYKcmyk(0%, 13.8%, 69.6%, 45.9%)
CIE-LABlab(50.41, -1.82, 43.41)
CIE-LCHlch(50.41, 43.45, 92.41°)
OKLaboklab(57.19% -0.0088 0.0978)
OKLCHoklch(57.19% 0.098 95.1)
XYZxyz(17.4968, 18.7650, 4.8904)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A772A #2A3D8A
analogous
#8A472A #8A772A #6D8A2A
triadic
#8A772A #2A8A77 #772A8A
tetradic
#8A772A #2A8A47 #2A3D8A #8A2A6D
square
#8A772A #2A8A47 #2A3D8A #8A2A6D
split-complementary
#8A772A #2A6D8A #472A8A
monochromatic
#2C260D #5B4F1C #8A772A #B99F38 #CFB960

Accessibility & contrast

On white

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

On black

4.75
#8A772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A772A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A772A#FFFFFF#000000##000000
##8A772A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a772a;
/* rgb */ color: rgb(138, 119, 42);
/* oklch */ color: oklch(57.2% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#af9d68',
    500: '#8a772a',
    950: '#000000',
  },
}
SCSS
$custom: #8a772a;
$custom-light: #af9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a772a",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 48.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.09814,
    "h": 95.1
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#8A772A
secondary
#5B6DB4
accent
#68DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A772A

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

Preview Lab → · Contrast checker → · Palette generator →

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