#8B7F1E#8B7F1E

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

Color values

HEX#8B7F1E
RGBrgb(139, 127, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 55%)
CMYKcmyk(0%, 8.6%, 78.4%, 45.5%)
CIE-LABlab(52.69, -6.45, 50.52)
CIE-LCHlch(52.69, 50.93, 97.28°)
OKLaboklab(59% -0.0233 0.1104)
OKLCHoklch(59% 0.113 101.9)
XYZxyz(18.4720, 20.7623, 4.2626)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F1E #1E2A8B
analogous
#8B481E #8B7F1E #618B1E
triadic
#8B7F1E #1E8B7F #7F1E8B
tetradic
#8B7F1E #1E8B48 #1E2A8B #8B1E61
square
#8B7F1E #1E8B48 #1E2A8B #8B1E61
split-complementary
#8B7F1E #1E618B #481E8B
monochromatic
#262308 #595113 #8B7F1E #BDAD29 #D8C94B

Accessibility & contrast

On white

4.08
#8B7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B7F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F1E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F1E#FFFFFF#000000##000000
##8B7F1E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f1e;
/* rgb */ color: rgb(139, 127, 30);
/* oklch */ color: oklch(59.0% 0.113 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a362',
    500: '#8b7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f1e;
$custom-light: #b0a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f1e",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 53.394,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.11288,
    "h": 101.9
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#8B7F1E
secondary
#4A57BB
accent
#53E740
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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