#8B7E22#8B7E22

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

Color values

HEX#8B7E22
RGBrgb(139, 126, 34)
HSLhsl(53, 61%, 34%)
HSVhsv(53, 76%, 55%)
CMYKcmyk(0%, 9.4%, 75.5%, 45.5%)
CIE-LABlab(52.43, -5.72, 48.80)
CIE-LCHlch(52.43, 49.13, 96.68°)
OKLaboklab(58.79% -0.0209 0.1076)
OKLCHoklch(58.79% 0.11 101)
XYZxyz(18.3979, 20.5270, 4.5061)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E22 #222F8B
analogous
#8B4A22 #8B7E22 #648B22
triadic
#8B7E22 #228B7E #7E228B
tetradic
#8B7E22 #228B4A #222F8B #8B2264
square
#8B7E22 #228B4A #222F8B #8B2264
split-complementary
#8B7E22 #22648B #4A228B
monochromatic
#29250A #5A5116 #8B7E22 #BCAB2E #D5C553

Accessibility & contrast

On white

4.11
#8B7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8B7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E22#FFFFFF#000000##000000
##8B7E221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#96756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e22;
/* rgb */ color: rgb(139, 126, 34);
/* oklch */ color: oklch(58.8% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#b0a364',
    500: '#8b7e22',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e22;
$custom-light: #b0a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e22",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 52.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.10959,
    "h": 101
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#8B7E22
secondary
#505DB8
accent
#58E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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