#8B7A2E#8B7A2E

#8B7A2E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.097 H 96.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B7A2E
RGBrgb(139, 122, 46)
HSLhsl(49, 50%, 36%)
HSVhsv(49, 67%, 55%)
CMYKcmyk(0%, 12.2%, 66.9%, 45.5%)
CIE-LABlab(51.39, -2.80, 42.64)
CIE-LCHlch(51.39, 42.73, 93.76°)
OKLaboklab(58% -0.0112 0.0968)
OKLCHoklch(58% 0.097 96.6)
XYZxyz(18.1010, 19.6062, 5.4152)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A2E #2E3F8B
analogous
#8B4C2E #8B7A2E #6E8B2E
triadic
#8B7A2E #2E8B7A #7A2E8B
tetradic
#8B7A2E #2E8B4C #2E3F8B #8B2E6E
square
#8B7A2E #2E8B4C #2E3F8B #8B2E6E
split-complementary
#8B7A2E #2E6E8B #4C2E8B
monochromatic
#2F2910 #5D521F #8B7A2E #B9A23D #CDBA67

Accessibility & contrast

On white

4.27
#8B7A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8B7A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7A2E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7A2E#FFFFFF#000000##000000
##8B7A2E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#96716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a2e;
/* rgb */ color: rgb(139, 122, 46);
/* oklch */ color: oklch(58.0% 0.097 96.6);
Tailwind
colors: {
  custom: {
    50: '#b0a06b',
    500: '#8b7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a2e;
$custom-light: #b0a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a2e",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 49.032,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.09741,
    "h": 96.6
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#8B7A2E
secondary
#6170B3
accent
#68DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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