#8A9858#8A9858

#8A9858 is a light, moderate yellow-green. Relative luminance 0.286; OKLCH L 65.3% C 0.089 H 119.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A9858
RGBrgb(138, 152, 88)
HSLhsl(73, 27%, 47%)
HSVhsv(73, 42%, 60%)
CMYKcmyk(9.2%, 0%, 42.1%, 40.4%)
CIE-LABlab(60.40, -15.60, 31.97)
CIE-LCHlch(60.40, 35.57, 116.01°)
OKLaboklab(65.31% -0.0431 0.0778)
OKLCHoklch(65.31% 0.089 119)
XYZxyz(23.4710, 28.5644, 13.5076)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9858 #665898
analogous
#988658 #8A9858 #6A9858
triadic
#8A9858 #588A98 #98588A
tetradic
#8A9858 #589886 #665898 #98586A
square
#8A9858 #589886 #665898 #98586A
split-complementary
#8A9858 #586A98 #865898
monochromatic
#444A2B #677142 #8A9858 #A6B27B #C0C9A2

Accessibility & contrast

On white

3.13
#8A9858 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8A9858 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9858
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9858#FFFFFF#000000##000000
##8A98581.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09253
Deuteranopia (green-blind)
#9E925B
Tritanopia (blue-blind)
#909288
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9858;
/* rgb */ color: rgb(138, 152, 88);
/* oklch */ color: oklch(65.3% 0.089 119.0);
Tailwind
colors: {
  custom: {
    50: '#adb688',
    500: '#8a9858',
    950: '#000000',
  },
}
SCSS
$custom: #8a9858;
$custom-light: #adb688;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9858",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 88
  },
  "hsl": {
    "h": 73.125,
    "s": 26.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.08894,
    "h": 119
  },
  "luminance": 0.28564
}

Semantic roles & 50–950 ramp

primary
#8A9858
secondary
#9D95B7
accent
#65C379
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9858

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

Preview Lab → · Contrast checker → · Palette generator →

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