#8A9857#8A9857

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

Color values

HEX#8A9857
RGBrgb(138, 152, 87)
HSLhsl(73, 27%, 47%)
HSVhsv(73, 43%, 60%)
CMYKcmyk(9.2%, 0%, 42.8%, 40.4%)
CIE-LABlab(60.38, -15.72, 32.48)
CIE-LCHlch(60.38, 36.08, 115.83°)
OKLaboklab(65.3% -0.0436 0.0789)
OKLCHoklch(65.3% 0.09 118.9)
XYZxyz(23.4299, 28.5480, 13.2910)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9857 #655798
analogous
#988657 #8A9857 #6A9857
triadic
#8A9857 #578A98 #98578A
tetradic
#8A9857 #579886 #655798 #98576A
square
#8A9857 #579886 #655798 #98576A
split-complementary
#8A9857 #576A98 #865798
monochromatic
#434A2A #677141 #8A9857 #A6B37A #C0C9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9857#FFFFFF#000000##000000
##8A98571.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)
#A09252
Deuteranopia (green-blind)
#9E925A
Tritanopia (blue-blind)
#909288
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9857;
/* rgb */ color: rgb(138, 152, 87);
/* oklch */ color: oklch(65.3% 0.090 118.9);
Tailwind
colors: {
  custom: {
    50: '#adb687',
    500: '#8a9857',
    950: '#000000',
  },
}
SCSS
$custom: #8a9857;
$custom-light: #adb687;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9857",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 87
  },
  "hsl": {
    "h": 72.923,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.65295,
    "c": 0.0901,
    "h": 118.9
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#8A9857
secondary
#9C94B6
accent
#64C479
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9857

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

Preview Lab → · Contrast checker → · Palette generator →

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