#8A8137#8A8137

#8A8137 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.096 H 102.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A8137
RGBrgb(138, 129, 55)
HSLhsl(53, 43%, 38%)
HSVhsv(53, 60%, 54%)
CMYKcmyk(0%, 6.5%, 60.1%, 45.9%)
CIE-LABlab(53.36, -6.51, 40.48)
CIE-LCHlch(53.36, 41.00, 99.14°)
OKLaboklab(59.57% -0.0206 0.0935)
OKLCHoklch(59.57% 0.096 102.4)
XYZxyz(19.0217, 21.3803, 6.7385)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8137 #37408A
analogous
#8A5737 #8A8137 #698A37
triadic
#8A8137 #378A81 #81378A
tetradic
#8A8137 #378A57 #37408A #8A3769
square
#8A8137 #378A57 #37408A #8A3769
split-complementary
#8A8137 #37698A #57378A
monochromatic
#322F14 #5E5826 #8A8137 #B6AA48 #C8BE74

Accessibility & contrast

On white

3.98
#8A8137 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A8137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8137
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8137#FFFFFF#000000##000000
##8A81371.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2F
Deuteranopia (green-blind)
#8F813B
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8137;
/* rgb */ color: rgb(138, 129, 55);
/* oklch */ color: oklch(59.6% 0.096 102.4);
Tailwind
colors: {
  custom: {
    50: '#aea571',
    500: '#8a8137',
    950: '#000000',
  },
}
SCSS
$custom: #8a8137;
$custom-light: #aea571;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8137",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 53.494,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.09579,
    "h": 102.4
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

primary
#8A8137
secondary
#6D74B0
accent
#63D355
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8137

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

Preview Lab → · Contrast checker → · Palette generator →

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