#8B7E1A#8B7E1A

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

Color values

HEX#8B7E1A
RGBrgb(139, 126, 26)
HSLhsl(53, 68%, 32%)
HSVhsv(53, 81%, 55%)
CMYKcmyk(0%, 9.4%, 81.3%, 45.5%)
CIE-LABlab(52.38, -6.06, 51.59)
CIE-LCHlch(52.38, 51.95, 96.69°)
OKLaboklab(58.75% -0.0226 0.1119)
OKLCHoklch(58.75% 0.114 101.4)
XYZxyz(18.2957, 20.4861, 3.9676)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E1A #1A278B
analogous
#8B451A #8B7E1A #608B1A
triadic
#8B7E1A #1A8B7E #7E1A8B
tetradic
#8B7E1A #1A8B45 #1A278B #8B1A60
square
#8B7E1A #1A8B45 #1A278B #8B1A60
split-complementary
#8B7E1A #1A608B #451A8B
monochromatic
#242107 #574F10 #8B7E1A #BFAD24 #DCCA43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7E1A#FFFFFF#000000##000000
##8B7E1A1.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)
#8B7A00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e1a;
/* rgb */ color: rgb(139, 126, 26);
/* oklch */ color: oklch(58.7% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#b1a360',
    500: '#8b7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e1a;
$custom-light: #b1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e1a",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 53.097,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.11417,
    "h": 101.4
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#8B7E1A
secondary
#4452BD
accent
#51EB3C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8B7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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