#8B7E20#8B7E20

#8B7E20 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.111 H 101.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B7E20
RGBrgb(139, 126, 32)
HSLhsl(53, 63%, 34%)
HSVhsv(53, 77%, 55%)
CMYKcmyk(0%, 9.4%, 77%, 45.5%)
CIE-LABlab(52.42, -5.81, 49.54)
CIE-LCHlch(52.42, 49.88, 96.69°)
OKLaboklab(58.78% -0.0213 0.1088)
OKLCHoklch(58.78% 0.111 101.1)
XYZxyz(18.3699, 20.5158, 4.3586)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E20 #202D8B
analogous
#8B4820 #8B7E20 #628B20
triadic
#8B7E20 #208B7E #7E208B
tetradic
#8B7E20 #208B48 #202D8B #8B2062
square
#8B7E20 #208B48 #202D8B #8B2062
split-complementary
#8B7E20 #20628B #48208B
monochromatic
#282409 #595115 #8B7E20 #BDAB2B #D6C64F

Accessibility & contrast

On white

4.12
#8B7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8B7E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E20
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E20#FFFFFF#000000##000000
##8B7E201.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e20;
/* rgb */ color: rgb(139, 126, 32);
/* oklch */ color: oklch(58.8% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b0a363',
    500: '#8b7e20',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e20;
$custom-light: #b0a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e20",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 52.71,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.11083,
    "h": 101.1
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#8B7E20
secondary
#4D5ABA
accent
#56E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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