#8B971E#8B971E

#8B971E is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.137 H 115.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8B971E
RGBrgb(139, 151, 30)
HSLhsl(66, 67%, 35%)
HSVhsv(66, 80%, 59%)
CMYKcmyk(7.9%, 0%, 80.1%, 40.8%)
CIE-LABlab(59.63, -19.24, 56.82)
CIE-LCHlch(59.63, 59.99, 108.71°)
OKLaboklab(64.54% -0.059 0.1239)
OKLCHoklch(64.54% 0.137 115.5)
XYZxyz(21.9490, 27.7163, 5.4216)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B971E #2A1E97
analogous
#97661E #8B971E #4F971E
triadic
#8B971E #1E8B97 #971E8B
tetradic
#8B971E #1E9766 #2A1E97 #971E4F
square
#8B971E #1E9766 #2A1E97 #971E4F
split-complementary
#8B971E #1E4F97 #661E97
monochromatic
#2D310A #5C6414 #8B971E #BACA28 #CFDD53

Accessibility & contrast

On white

3.21
#8B971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#8B971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B971E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B971E#FFFFFF#000000##000000
##8B971E1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A1912A
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b971e;
/* rgb */ color: rgb(139, 151, 30);
/* oklch */ color: oklch(64.5% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b566',
    500: '#8b971e',
    950: '#000000',
  },
}
SCSS
$custom: #8b971e;
$custom-light: #b0b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8b971e",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 65.95,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64542,
    "c": 0.1372,
    "h": 115.5
  },
  "luminance": 0.27716
}

Semantic roles & 50–950 ramp

primary
#8B971E
secondary
#5C51C0
accent
#3EEA4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B971E

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

Preview Lab → · Contrast checker → · Palette generator →

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