#8A8143#8A8143

#8A8143 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.084 H 101.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A8143
RGBrgb(138, 129, 67)
HSLhsl(52, 35%, 40%)
HSVhsv(52, 51%, 54%)
CMYKcmyk(0%, 6.5%, 51.4%, 45.9%)
CIE-LABlab(53.50, -5.47, 34.55)
CIE-LCHlch(53.50, 34.98, 98.99°)
OKLaboklab(59.73% -0.0162 0.0821)
OKLCHoklch(59.73% 0.084 101.1)
XYZxyz(19.3452, 21.5097, 8.4419)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8143 #434C8A
analogous
#8A5D43 #8A8143 #708A43
triadic
#8A8143 #438A81 #81438A
tetradic
#8A8143 #438A5D #434C8A #8A4370
square
#8A8143 #438A5D #434C8A #8A4370
split-complementary
#8A8143 #43708A #5D438A
monochromatic
#38341B #615A2F #8A8143 #AFA55B #C3BB84

Accessibility & contrast

On white

3.96
#8A8143 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A8143 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8143
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8143#FFFFFF#000000##000000
##8A81431.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3E
Deuteranopia (green-blind)
#8E8246
Tritanopia (blue-blind)
#937973
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8143;
/* rgb */ color: rgb(138, 129, 67);
/* oklch */ color: oklch(59.7% 0.084 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea579',
    500: '#8a8143',
    950: '#000000',
  },
}
SCSS
$custom: #8a8143;
$custom-light: #aea579;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8143",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 67
  },
  "hsl": {
    "h": 52.394,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.08363,
    "h": 101.1
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#8A8143
secondary
#7B81AE
accent
#6BCB5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8143

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

Preview Lab → · Contrast checker → · Palette generator →

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