#8B7E2F#8B7E2F

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

Color values

HEX#8B7E2F
RGBrgb(139, 126, 47)
HSLhsl(52, 49%, 36%)
HSVhsv(52, 66%, 55%)
CMYKcmyk(0%, 9.4%, 66.2%, 45.5%)
CIE-LABlab(52.53, -4.97, 43.39)
CIE-LCHlch(52.53, 43.67, 96.54°)
OKLaboklab(58.91% -0.0173 0.0985)
OKLCHoklch(58.91% 0.1 99.9)
XYZxyz(18.6222, 20.6167, 5.6873)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E2F #2F3C8B
analogous
#8B502F #8B7E2F #6A8B2F
triadic
#8B7E2F #2F8B7E #7E2F8B
tetradic
#8B7E2F #2F8B50 #2F3C8B #8B2F6A
square
#8B7E2F #2F8B50 #2F3C8B #8B2F6A
split-complementary
#8B7E2F #2F6A8B #502F8B
monochromatic
#302B10 #5D5520 #8B7E2F #B9A73E #CCBE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7E2F#FFFFFF#000000##000000
##8B7E2F1.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)
#8A7B25
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e2f;
/* rgb */ color: rgb(139, 126, 47);
/* oklch */ color: oklch(58.9% 0.100 99.9);
Tailwind
colors: {
  custom: {
    50: '#b0a36c',
    500: '#8b7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e2f;
$custom-light: #b0a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e2f",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 51.522,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.10003,
    "h": 99.9
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#8B7E2F
secondary
#636EB3
accent
#62D94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8B7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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