#8B7F2B#8B7F2B

#8B7F2B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.104 H 101.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8B7F2B
RGBrgb(139, 127, 43)
HSLhsl(53, 53%, 36%)
HSVhsv(53, 69%, 55%)
CMYKcmyk(0%, 8.6%, 69.1%, 45.5%)
CIE-LABlab(52.78, -5.78, 45.44)
CIE-LCHlch(52.78, 45.81, 97.25°)
OKLaboklab(59.09% -0.02 0.1022)
OKLCHoklch(59.09% 0.104 101.1)
XYZxyz(18.6737, 20.8429, 5.3245)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F2B #2B378B
analogous
#8B4F2B #8B7F2B #678B2B
triadic
#8B7F2B #2B8B7F #7F2B8B
tetradic
#8B7F2B #2B8B4F #2B378B #8B2B67
square
#8B7F2B #2B8B4F #2B378B #8B2B67
split-complementary
#8B7F2B #2B678B #4F2B8B
monochromatic
#2E2A0E #5C541D #8B7F2B #BAAA39 #CEC162

Accessibility & contrast

On white

4.06
#8B7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8B7F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F2B#FFFFFF#000000##000000
##8B7F2B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#96766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f2b;
/* rgb */ color: rgb(139, 127, 43);
/* oklch */ color: oklch(59.1% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#b0a369',
    500: '#8b7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f2b;
$custom-light: #b0a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f2b",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 52.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.10415,
    "h": 101.1
  },
  "luminance": 0.20842
}

Semantic roles & 50–950 ramp

primary
#8B7F2B
secondary
#5D68B5
accent
#5EDC4C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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