#8A9941#8A9941

#8A9941 is a light, moderate yellow-green. Relative luminance 0.286; OKLCH L 65.2% C 0.115 H 117.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A9941
RGBrgb(138, 153, 65)
HSLhsl(70, 40%, 43%)
HSVhsv(70, 58%, 60%)
CMYKcmyk(9.8%, 0%, 57.5%, 40%)
CIE-LABlab(60.40, -18.51, 43.61)
CIE-LCHlch(60.40, 47.37, 113.00°)
OKLaboklab(65.22% -0.0535 0.1015)
OKLCHoklch(65.22% 0.115 117.8)
XYZxyz(22.8269, 28.5676, 9.3116)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9941 #504199
analogous
#997C41 #8A9941 #5E9941
triadic
#8A9941 #418A99 #99418A
tetradic
#8A9941 #41997C #504199 #99415E
square
#8A9941 #41997C #504199 #99415E
split-complementary
#8A9941 #415E99 #7C4199
monochromatic
#3D431D #636E2F #8A9941 #AABA5D #C1CC88

Accessibility & contrast

On white

3.13
#8A9941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8A9941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9941
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9941#FFFFFF#000000##000000
##8A99411.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29138
Deuteranopia (green-blind)
#A19246
Tritanopia (blue-blind)
#919186
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9941;
/* rgb */ color: rgb(138, 153, 65);
/* oklch */ color: oklch(65.2% 0.115 117.8);
Tailwind
colors: {
  custom: {
    50: '#aeb779',
    500: '#8a9941',
    950: '#000000',
  },
}
SCSS
$custom: #8a9941;
$custom-light: #aeb779;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9941",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 65
  },
  "hsl": {
    "h": 70.227,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65221,
    "c": 0.1147,
    "h": 117.8
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#8A9941
secondary
#887FB7
accent
#58D06C
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A9941

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

Preview Lab → · Contrast checker → · Palette generator →

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