#8A9958#8A9958

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

Color values

HEX#8A9958
RGBrgb(138, 153, 88)
HSLhsl(74, 27%, 47%)
HSVhsv(74, 42%, 60%)
CMYKcmyk(9.8%, 0%, 42.5%, 40%)
CIE-LABlab(60.68, -16.12, 32.33)
CIE-LCHlch(60.68, 36.13, 116.50°)
OKLaboklab(65.54% -0.0446 0.0786)
OKLCHoklch(65.54% 0.09 119.6)
XYZxyz(23.6340, 28.8904, 13.5620)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9958 #675899
analogous
#998858 #8A9958 #6A9958
triadic
#8A9958 #588A99 #99588A
tetradic
#8A9958 #589988 #675899 #99586A
square
#8A9958 #589988 #675899 #99586A
split-complementary
#8A9958 #586A99 #885899
monochromatic
#444B2B #677242 #8A9958 #A6B37B #C0C9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9958#FFFFFF#000000##000000
##8A99581.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)
#A19253
Deuteranopia (green-blind)
#9F935B
Tritanopia (blue-blind)
#909389
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9958;
/* rgb */ color: rgb(138, 153, 88);
/* oklch */ color: oklch(65.5% 0.090 119.6);
Tailwind
colors: {
  custom: {
    50: '#adb788',
    500: '#8a9958',
    950: '#000000',
  },
}
SCSS
$custom: #8a9958;
$custom-light: #adb788;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9958",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 88
  },
  "hsl": {
    "h": 73.846,
    "s": 26.971,
    "l": 47.255
  },
  "oklch": {
    "l": 0.65543,
    "c": 0.09039,
    "h": 119.6
  },
  "luminance": 0.2889
}

Semantic roles & 50–950 ramp

primary
#8A9958
secondary
#9D96B7
accent
#64C37A
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9958

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

Preview Lab → · Contrast checker → · Palette generator →

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