#8A9A42#8A9A42

#8A9A42 is a light, moderate yellow-green. Relative luminance 0.289; OKLCH L 65.5% C 0.115 H 118.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9A42
RGBrgb(138, 154, 66)
HSLhsl(71, 40%, 43%)
HSVhsv(71, 57%, 60%)
CMYKcmyk(10.4%, 0%, 57.1%, 39.6%)
CIE-LABlab(60.70, -18.93, 43.47)
CIE-LCHlch(60.70, 47.42, 113.54°)
OKLaboklab(65.47% -0.0546 0.1013)
OKLCHoklch(65.47% 0.115 118.3)
XYZxyz(23.0205, 28.9080, 9.5203)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A42 #52429A
analogous
#9A7E42 #8A9A42 #5E9A42
triadic
#8A9A42 #428A9A #9A428A
tetradic
#8A9A42 #429A7E #52429A #9A425E
square
#8A9A42 #429A7E #52429A #9A425E
split-complementary
#8A9A42 #425E9A #7E429A
monochromatic
#3D441D #646F30 #8A9A42 #AABA5F #C1CD8A

Accessibility & contrast

On white

3.10
#8A9A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8A9A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A42
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A42#FFFFFF#000000##000000
##8A9A421.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39239
Deuteranopia (green-blind)
#A29347
Tritanopia (blue-blind)
#919287
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a42;
/* rgb */ color: rgb(138, 154, 66);
/* oklch */ color: oklch(65.5% 0.115 118.3);
Tailwind
colors: {
  custom: {
    50: '#aeb779',
    500: '#8a9a42',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a42;
$custom-light: #aeb779;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a42",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 70.909,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65466,
    "c": 0.11506,
    "h": 118.3
  },
  "luminance": 0.28908
}

Semantic roles & 50–950 ramp

primary
#8A9A42
secondary
#8A80B8
accent
#58D06E
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9A42

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

Preview Lab → · Contrast checker → · Palette generator →

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