#8A8841#8A8841

#8A8841 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.094 H 107.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A8841
RGBrgb(138, 136, 65)
HSLhsl(58, 36%, 40%)
HSVhsv(58, 53%, 54%)
CMYKcmyk(0%, 1.4%, 52.9%, 45.9%)
CIE-LABlab(55.48, -9.50, 37.93)
CIE-LCHlch(55.48, 39.10, 104.07°)
OKLaboklab(61.29% -0.028 0.0892)
OKLCHoklch(61.29% 0.094 107.4)
XYZxyz(20.2400, 23.3938, 8.4493)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8841 #41438A
analogous
#8A6341 #8A8841 #688A41
triadic
#8A8841 #418A88 #88418A
tetradic
#8A8841 #418A63 #41438A #8A4168
square
#8A8841 #418A63 #41438A #8A4168
split-complementary
#8A8841 #41688A #63418A
monochromatic
#37361A #605F2D #8A8841 #B0AE58 #C4C282

Accessibility & contrast

On white

3.70
#8A8841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A8841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8841
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8841#FFFFFF#000000##000000
##8A88411.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#938078
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8841;
/* rgb */ color: rgb(138, 136, 65);
/* oklch */ color: oklch(61.3% 0.094 107.4);
Tailwind
colors: {
  custom: {
    50: '#aeaa78',
    500: '#8a8841',
    950: '#000000',
  },
}
SCSS
$custom: #8a8841;
$custom-light: #aeaa78;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8841",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 65
  },
  "hsl": {
    "h": 58.356,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61287,
    "c": 0.09351,
    "h": 107.4
  },
  "luminance": 0.23393
}

Semantic roles & 50–950 ramp

primary
#8A8841
secondary
#787AAE
accent
#5FCC5C
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8841

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

Preview Lab → · Contrast checker → · Palette generator →

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