#8B771C#8B771C

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

Color values

HEX#8B771C
RGBrgb(139, 119, 28)
HSLhsl(49, 66%, 33%)
HSVhsv(49, 80%, 55%)
CMYKcmyk(0%, 14.4%, 79.9%, 45.5%)
CIE-LABlab(50.41, -2.06, 49.14)
CIE-LCHlch(50.41, 49.18, 92.41°)
OKLaboklab(57.19% -0.0111 0.1071)
OKLCHoklch(57.19% 0.108 95.9)
XYZxyz(17.4548, 18.7674, 3.8015)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B771C #1C308B
analogous
#8B3F1C #8B771C #688B1C
triadic
#8B771C #1C8B77 #771C8B
tetradic
#8B771C #1C8B3F #1C308B #8B1C68
square
#8B771C #1C8B3F #1C308B #8B1C68
split-complementary
#8B771C #1C688B #3F1C8B
monochromatic
#252007 #584B12 #8B771C #BEA326 #DAC047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B771C#FFFFFF#000000##000000
##8B771C1.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)
#847408
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#976D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b771c;
/* rgb */ color: rgb(139, 119, 28);
/* oklch */ color: oklch(57.2% 0.108 95.9);
Tailwind
colors: {
  custom: {
    50: '#b19d60',
    500: '#8b771c',
    950: '#000000',
  },
}
SCSS
$custom: #8b771c;
$custom-light: #b19d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b771c",
  "rgb": {
    "r": 139,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 49.189,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.10765,
    "h": 95.9
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#8B771C
secondary
#475CBC
accent
#5DE93E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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