#8B771E#8B771E

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

Color values

HEX#8B771E
RGBrgb(139, 119, 30)
HSLhsl(49, 64%, 33%)
HSVhsv(49, 78%, 55%)
CMYKcmyk(0%, 14.4%, 78.4%, 45.5%)
CIE-LABlab(50.43, -1.98, 48.42)
CIE-LCHlch(50.43, 48.46, 92.34°)
OKLaboklab(57.2% -0.0107 0.106)
OKLCHoklch(57.2% 0.107 95.8)
XYZxyz(17.4796, 18.7773, 3.9317)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B771E #1E328B
analogous
#8B401E #8B771E #688B1E
triadic
#8B771E #1E8B77 #771E8B
tetradic
#8B771E #1E8B40 #1E328B #8B1E68
square
#8B771E #1E8B40 #1E328B #8B1E68
split-complementary
#8B771E #1E688B #401E8B
monochromatic
#262108 #594C13 #8B771E #BDA229 #D8BE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B771E#FFFFFF#000000##000000
##8B771E1.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)
#84740C
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#976D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b771e;
/* rgb */ color: rgb(139, 119, 30);
/* oklch */ color: oklch(57.2% 0.106 95.8);
Tailwind
colors: {
  custom: {
    50: '#b19d61',
    500: '#8b771e',
    950: '#000000',
  },
}
SCSS
$custom: #8b771e;
$custom-light: #b19d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b771e",
  "rgb": {
    "r": 139,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 48.991,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.572,
    "c": 0.1065,
    "h": 95.8
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#8B771E
secondary
#4A5FBB
accent
#5FE740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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