#8A996F#8A996F

#8A996F is a light, moderate yellow-green. Relative luminance 0.293; OKLCH L 66.0% C 0.062 H 124.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A996F
RGBrgb(138, 153, 111)
HSLhsl(81, 17%, 52%)
HSVhsv(81, 27%, 60%)
CMYKcmyk(9.8%, 0%, 27.5%, 40%)
CIE-LABlab(61.07, -12.97, 20.36)
CIE-LCHlch(61.07, 24.14, 122.50°)
OKLaboklab(65.98% -0.0347 0.0514)
OKLCHoklch(65.98% 0.062 124)
XYZxyz(24.7414, 29.3334, 19.3943)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A996F #7E6F99
analogous
#99936F #8A996F #75996F
triadic
#8A996F #6F8A99 #996F8A
tetradic
#8A996F #6F9993 #7E6F99 #996F75
square
#8A996F #6F9993 #7E6F99 #996F75
split-complementary
#8A996F #6F7599 #936F99
monochromatic
#4A533B #6A7754 #8A996F #A7B293 #C4CCB7

Accessibility & contrast

On white

3.06
#8A996F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A996F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A996F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A996F#FFFFFF#000000##000000
##8A996F1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E946C
Deuteranopia (green-blind)
#9C9371
Tritanopia (blue-blind)
#8D958E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a996f;
/* rgb */ color: rgb(138, 153, 111);
/* oklch */ color: oklch(66.0% 0.062 124.0);
Tailwind
colors: {
  custom: {
    50: '#acb798',
    500: '#8a996f',
    950: '#000000',
  },
}
SCSS
$custom: #8a996f;
$custom-light: #acb798;
$custom-dark: #000000;
JSON
{
  "hex": "#8a996f",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 81.429,
    "s": 17.073,
    "l": 51.765
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.06199,
    "h": 124
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

primary
#8A996F
secondary
#AFA9BB
accent
#6EBA89
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110D
muted
#7F807E

Preview Lab

Preview with #8A996F

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

Preview Lab → · Contrast checker → · Palette generator →

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