#8A9962#8A9962

#8A9962 is a light, moderate yellow-green. Relative luminance 0.291; OKLCH L 65.7% C 0.078 H 121.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A9962
RGBrgb(138, 153, 98)
HSLhsl(76, 22%, 49%)
HSVhsv(76, 36%, 60%)
CMYKcmyk(9.8%, 0%, 35.9%, 40%)
CIE-LABlab(60.84, -14.85, 27.18)
CIE-LCHlch(60.84, 30.97, 118.65°)
OKLaboklab(65.72% -0.0404 0.0672)
OKLCHoklch(65.72% 0.078 121)
XYZxyz(24.0770, 29.0676, 15.8951)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9962 #716299
analogous
#998D62 #8A9962 #6F9962
triadic
#8A9962 #628A99 #99628A
tetradic
#8A9962 #62998D #716299 #99626F
square
#8A9962 #62998D #716299 #99626F
split-complementary
#8A9962 #626F99 #8D6299
monochromatic
#474E32 #68744A #8A9962 #A6B286 #C2CAAC

Accessibility & contrast

On white

3.08
#8A9962 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8A9962 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9962
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9962#FFFFFF#000000##000000
##8A99621.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F935E
Deuteranopia (green-blind)
#9E9365
Tritanopia (blue-blind)
#8F948B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9962;
/* rgb */ color: rgb(138, 153, 98);
/* oklch */ color: oklch(65.7% 0.078 121.0);
Tailwind
colors: {
  custom: {
    50: '#adb78f',
    500: '#8a9962',
    950: '#000000',
  },
}
SCSS
$custom: #8a9962;
$custom-light: #adb78f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9962",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 98
  },
  "hsl": {
    "h": 76.364,
    "s": 21.912,
    "l": 49.216
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.07841,
    "h": 121
  },
  "luminance": 0.29068
}

Semantic roles & 50–950 ramp

primary
#8A9962
secondary
#A69FB8
accent
#69BE81
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A9962

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

Preview Lab → · Contrast checker → · Palette generator →

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