#8B7E2E#8B7E2E

#8B7E2E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.101 H 100.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8B7E2E
RGBrgb(139, 126, 46)
HSLhsl(52, 50%, 36%)
HSVhsv(52, 67%, 55%)
CMYKcmyk(0%, 9.4%, 66.9%, 45.5%)
CIE-LABlab(52.52, -5.04, 43.84)
CIE-LCHlch(52.52, 44.13, 96.56°)
OKLaboklab(58.9% -0.0176 0.0993)
OKLCHoklch(58.9% 0.101 100)
XYZxyz(18.6022, 20.6087, 5.5823)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E2E #2E3B8B
analogous
#8B502E #8B7E2E #6A8B2E
triadic
#8B7E2E #2E8B7E #7E2E8B
tetradic
#8B7E2E #2E8B50 #2E3B8B #8B2E6A
square
#8B7E2E #2E8B50 #2E3B8B #8B2E6A
split-complementary
#8B7E2E #2E6A8B #502E8B
monochromatic
#2F2B10 #5D541F #8B7E2E #B9A83D #CDBE67

Accessibility & contrast

On white

4.10
#8B7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8B7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E2E#FFFFFF#000000##000000
##8B7E2E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A24
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e2e;
/* rgb */ color: rgb(139, 126, 46);
/* oklch */ color: oklch(58.9% 0.101 100.0);
Tailwind
colors: {
  custom: {
    50: '#b0a36b',
    500: '#8b7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e2e;
$custom-light: #b0a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e2e",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 51.613,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.10085,
    "h": 100
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#8B7E2E
secondary
#616DB3
accent
#62DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8B7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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