#8B7F22#8B7F22

#8B7F22 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.110 H 101.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8B7F22
RGBrgb(139, 127, 34)
HSLhsl(53, 61%, 34%)
HSVhsv(53, 76%, 55%)
CMYKcmyk(0%, 8.6%, 75.5%, 45.5%)
CIE-LABlab(52.71, -6.27, 49.07)
CIE-LCHlch(52.71, 49.47, 97.28°)
OKLaboklab(59.02% -0.0224 0.1082)
OKLCHoklch(59.02% 0.11 101.7)
XYZxyz(18.5264, 20.7840, 4.5489)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F22 #222E8B
analogous
#8B4B22 #8B7F22 #638B22
triadic
#8B7F22 #228B7F #7F228B
tetradic
#8B7F22 #228B4B #222E8B #8B2263
square
#8B7F22 #228B4B #222E8B #8B2263
split-complementary
#8B7F22 #22638B #4B228B
monochromatic
#29250A #5A5216 #8B7F22 #BCAC2E #D5C653

Accessibility & contrast

On white

4.07
#8B7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8B7F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F22#FFFFFF#000000##000000
##8B7F221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f22;
/* rgb */ color: rgb(139, 127, 34);
/* oklch */ color: oklch(59.0% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#b0a364',
    500: '#8b7f22',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f22;
$custom-light: #b0a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f22",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 53.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.11047,
    "h": 101.7
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#8B7F22
secondary
#505CB8
accent
#56E444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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