#8B7F2A#8B7F2A

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

Color values

HEX#8B7F2A
RGBrgb(139, 127, 42)
HSLhsl(53, 54%, 35%)
HSVhsv(53, 70%, 55%)
CMYKcmyk(0%, 8.6%, 69.8%, 45.5%)
CIE-LABlab(52.77, -5.84, 45.87)
CIE-LCHlch(52.77, 46.24, 97.26°)
OKLaboklab(59.09% -0.0203 0.1029)
OKLCHoklch(59.09% 0.105 101.2)
XYZxyz(18.6556, 20.8357, 5.2291)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F2A #2A368B
analogous
#8B4E2A #8B7F2A #668B2A
triadic
#8B7F2A #2A8B7F #7F2A8B
tetradic
#8B7F2A #2A8B4E #2A368B #8B2A66
square
#8B7F2A #2A8B4E #2A368B #8B2A66
split-complementary
#8B7F2A #2A668B #4E2A8B
monochromatic
#2D290E #5C541C #8B7F2A #BAAA38 #CFC160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7F2A#FFFFFF#000000##000000
##8B7F2A1.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)
#8B7B1E
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#96766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f2a;
/* rgb */ color: rgb(139, 127, 42);
/* oklch */ color: oklch(59.1% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#b0a369',
    500: '#8b7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f2a;
$custom-light: #b0a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f2a",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 52.577,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.10491,
    "h": 101.2
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#8B7F2A
secondary
#5C67B5
accent
#5DDD4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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