#8A8044#8A8044

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

Color values

HEX#8A8044
RGBrgb(138, 128, 68)
HSLhsl(51, 34%, 40%)
HSVhsv(51, 51%, 54%)
CMYKcmyk(0%, 7.2%, 50.7%, 45.9%)
CIE-LABlab(53.23, -4.81, 33.70)
CIE-LCHlch(53.23, 34.04, 98.13°)
OKLaboklab(59.52% -0.0142 0.0803)
OKLCHoklch(59.52% 0.082 100)
XYZxyz(19.2443, 21.2596, 8.5575)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8044 #444E8A
analogous
#8A5D44 #8A8044 #718A44
triadic
#8A8044 #448A80 #80448A
tetradic
#8A8044 #448A5D #444E8A #8A4471
square
#8A8044 #448A5D #444E8A #8A4471
split-complementary
#8A8044 #44718A #5D448A
monochromatic
#38341C #615A30 #8A8044 #AFA35C #C3BA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8044#FFFFFF#000000##000000
##8A80441.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)
#8A7D3F
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#937972
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8044;
/* rgb */ color: rgb(138, 128, 68);
/* oklch */ color: oklch(59.5% 0.082 100.0);
Tailwind
colors: {
  custom: {
    50: '#aea479',
    500: '#8a8044',
    950: '#000000',
  },
}
SCSS
$custom: #8a8044;
$custom-light: #aea479;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8044",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 68
  },
  "hsl": {
    "h": 51.429,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.0815,
    "h": 100
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#8A8044
secondary
#7C83AE
accent
#6DCA5E
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8044

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

Preview Lab → · Contrast checker → · Palette generator →

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