#8A9A6F#8A9A6F

#8A9A6F is a light, moderate yellow-green. Relative luminance 0.297; OKLCH L 66.2% C 0.064 H 124.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9A6F
RGBrgb(138, 154, 111)
HSLhsl(82, 18%, 52%)
HSVhsv(82, 28%, 60%)
CMYKcmyk(10.4%, 0%, 27.9%, 39.6%)
CIE-LABlab(61.36, -13.50, 20.75)
CIE-LCHlch(61.36, 24.75, 123.05°)
OKLaboklab(66.21% -0.0362 0.0523)
OKLCHoklch(66.21% 0.064 124.7)
XYZxyz(24.9057, 29.6621, 19.4491)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A6F #7F6F9A
analogous
#9A956F #8A9A6F #759A6F
triadic
#8A9A6F #6F8A9A #9A6F8A
tetradic
#8A9A6F #6F9A95 #7F6F9A #9A6F75
square
#8A9A6F #6F9A95 #7F6F9A #9A6F75
split-complementary
#8A9A6F #6F759A #956F9A
monochromatic
#4B543B #6A7854 #8A9A6F #A7B393 #C4CCB7

Accessibility & contrast

On white

3.03
#8A9A6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9A6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A6F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A6F#FFFFFF#000000##000000
##8A9A6F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F956C
Deuteranopia (green-blind)
#9D9471
Tritanopia (blue-blind)
#8D968F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9a6f;
/* rgb */ color: rgb(138, 154, 111);
/* oklch */ color: oklch(66.2% 0.064 124.7);
Tailwind
colors: {
  custom: {
    50: '#acb798',
    500: '#8a9a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a6f;
$custom-light: #acb798;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a6f",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 111
  },
  "hsl": {
    "h": 82.326,
    "s": 17.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.06361,
    "h": 124.7
  },
  "luminance": 0.29662
}

Semantic roles & 50–950 ramp

primary
#8A9A6F
secondary
#B0A9BC
accent
#6EBA8A
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110D
muted
#7F807E

Preview Lab

Preview with #8A9A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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