#8A8043#8A8043

#8A8043 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.083 H 100.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A8043
RGBrgb(138, 128, 67)
HSLhsl(52, 35%, 40%)
HSVhsv(52, 51%, 54%)
CMYKcmyk(0%, 7.2%, 51.4%, 45.9%)
CIE-LABlab(53.22, -4.91, 34.21)
CIE-LCHlch(53.22, 34.56, 98.17°)
OKLaboklab(59.5% -0.0146 0.0813)
OKLCHoklch(59.5% 0.083 100.2)
XYZxyz(19.2141, 21.2475, 8.3982)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8043 #434D8A
analogous
#8A5C43 #8A8043 #718A43
triadic
#8A8043 #438A80 #80438A
tetradic
#8A8043 #438A5C #434D8A #8A4371
square
#8A8043 #438A5C #434D8A #8A4371
split-complementary
#8A8043 #43718A #5C438A
monochromatic
#38341B #615A2F #8A8043 #AFA35B #C3BA84

Accessibility & contrast

On white

4.00
#8A8043 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A8043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8043
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8043#FFFFFF#000000##000000
##8A80431.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3E
Deuteranopia (green-blind)
#8D8146
Tritanopia (blue-blind)
#937872
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8043;
/* rgb */ color: rgb(138, 128, 67);
/* oklch */ color: oklch(59.5% 0.083 100.2);
Tailwind
colors: {
  custom: {
    50: '#aea479',
    500: '#8a8043',
    950: '#000000',
  },
}
SCSS
$custom: #8a8043;
$custom-light: #aea479;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8043",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 51.549,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.0826,
    "h": 100.2
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#8A8043
secondary
#7B82AE
accent
#6DCB5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8043

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

Preview Lab → · Contrast checker → · Palette generator →

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