#8A9C5F#8A9C5F

#8A9C5F is a light, moderate yellow-green. Relative luminance 0.300; OKLCH L 66.4% C 0.087 H 122.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9C5F
RGBrgb(138, 156, 95)
HSLhsl(78, 24%, 49%)
HSVhsv(78, 39%, 61%)
CMYKcmyk(11.5%, 0%, 39.1%, 38.8%)
CIE-LABlab(61.66, -16.81, 29.85)
CIE-LCHlch(61.66, 34.26, 119.39°)
OKLaboklab(66.36% -0.0461 0.0733)
OKLCHoklch(66.36% 0.087 122.2)
XYZxyz(24.4352, 30.0064, 15.3288)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C5F #715F9C
analogous
#9C905F #8A9C5F #6C9C5F
triadic
#8A9C5F #5F8A9C #9C5F8A
tetradic
#8A9C5F #5F9C90 #715F9C #9C5F6C
square
#8A9C5F #5F9C90 #715F9C #9C5F6C
split-complementary
#8A9C5F #5F6C9C #905F9C
monochromatic
#475031 #687648 #8A9C5F #A6B484 #C2CBAA

Accessibility & contrast

On white

3.00
#8A9C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9C5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9C5F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C5F#FFFFFF#000000##000000
##8A9C5F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3955A
Deuteranopia (green-blind)
#A09562
Tritanopia (blue-blind)
#8F968D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9c5f;
/* rgb */ color: rgb(138, 156, 95);
/* oklch */ color: oklch(66.4% 0.087 122.2);
Tailwind
colors: {
  custom: {
    50: '#adb98d',
    500: '#8a9c5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c5f;
$custom-light: #adb98d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c5f",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 95
  },
  "hsl": {
    "h": 77.705,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.08658,
    "h": 122.2
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#8A9C5F
secondary
#A69DBA
accent
#67C182
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A9C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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