#8B7E1E#8B7E1E

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

Color values

HEX#8B7E1E
RGBrgb(139, 126, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 55%)
CMYKcmyk(0%, 9.4%, 78.4%, 45.5%)
CIE-LABlab(52.40, -5.90, 50.26)
CIE-LCHlch(52.40, 50.60, 96.69°)
OKLaboklab(58.77% -0.0218 0.1099)
OKLCHoklch(58.77% 0.112 101.2)
XYZxyz(18.3435, 20.5053, 4.2197)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E1E #1E2B8B
analogous
#8B471E #8B7E1E #618B1E
triadic
#8B7E1E #1E8B7E #7E1E8B
tetradic
#8B7E1E #1E8B47 #1E2B8B #8B1E61
square
#8B7E1E #1E8B47 #1E2B8B #8B1E61
split-complementary
#8B7E1E #1E618B #471E8B
monochromatic
#262308 #595013 #8B7E1E #BDAC29 #D8C74B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7E1E#FFFFFF#000000##000000
##8B7E1E1.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)
#8B7A09
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e1e;
/* rgb */ color: rgb(139, 126, 30);
/* oklch */ color: oklch(58.8% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#b0a362',
    500: '#8b7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e1e;
$custom-light: #b0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e1e",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 52.844,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.11202,
    "h": 101.2
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#8B7E1E
secondary
#4A58BB
accent
#54E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8B7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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