#8B771D#8B771D

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

Color values

HEX#8B771D
RGBrgb(139, 119, 29)
HSLhsl(49, 65%, 33%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.4%, 79.1%, 45.5%)
CIE-LABlab(50.42, -2.02, 48.78)
CIE-LCHlch(50.42, 48.83, 92.37°)
OKLaboklab(57.19% -0.0109 0.1065)
OKLCHoklch(57.19% 0.107 95.9)
XYZxyz(17.4670, 18.7723, 3.8656)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B771D #1D318B
analogous
#8B401D #8B771D #688B1D
triadic
#8B771D #1D8B77 #771D8B
tetradic
#8B771D #1D8B40 #1D318B #8B1D68
square
#8B771D #1D8B40 #1D318B #8B1D68
split-complementary
#8B771D #1D688B #401D8B
monochromatic
#262008 #584C12 #8B771D #BEA228 #D9BF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B771D#FFFFFF#000000##000000
##8B771D1.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)
#84740A
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#976D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b771d;
/* rgb */ color: rgb(139, 119, 29);
/* oklch */ color: oklch(57.2% 0.107 95.9);
Tailwind
colors: {
  custom: {
    50: '#b19d61',
    500: '#8b771d',
    950: '#000000',
  },
}
SCSS
$custom: #8b771d;
$custom-light: #b19d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b771d",
  "rgb": {
    "r": 139,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 49.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.10708,
    "h": 95.9
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#8B771D
secondary
#495DBB
accent
#5EE83F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B771D

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

Preview Lab → · Contrast checker → · Palette generator →

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