#8A971E#8A971E

#8A971E is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.138 H 115.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A971E
RGBrgb(138, 151, 30)
HSLhsl(66, 67%, 35%)
HSVhsv(66, 80%, 59%)
CMYKcmyk(8.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(59.55, -19.68, 56.72)
CIE-LCHlch(59.55, 60.04, 109.14°)
OKLaboklab(64.46% -0.0601 0.1237)
OKLCHoklch(64.46% 0.138 115.9)
XYZxyz(21.7828, 27.6306, 5.4138)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A971E #2B1E97
analogous
#97671E #8A971E #4E971E
triadic
#8A971E #1E8A97 #971E8A
tetradic
#8A971E #1E9767 #2B1E97 #971E4E
square
#8A971E #1E9767 #2B1E97 #971E4E
split-complementary
#8A971E #1E4E97 #671E97
monochromatic
#2D310A #5B6414 #8A971E #B9CA28 #CEDD53

Accessibility & contrast

On white

3.22
#8A971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A971E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A971E#FFFFFF#000000##000000
##8A971E1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#938E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a971e;
/* rgb */ color: rgb(138, 151, 30);
/* oklch */ color: oklch(64.5% 0.138 115.9);
Tailwind
colors: {
  custom: {
    50: '#b0b566',
    500: '#8a971e',
    950: '#000000',
  },
}
SCSS
$custom: #8a971e;
$custom-light: #b0b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8a971e",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 66.446,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.13754,
    "h": 115.9
  },
  "luminance": 0.2763
}

Semantic roles & 50–950 ramp

primary
#8A971E
secondary
#5D51C0
accent
#3EEA50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A971E

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

Preview Lab → · Contrast checker → · Palette generator →

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