#8A9862#8A9862

#8A9862 is a light, moderate yellow-green. Relative luminance 0.287; OKLCH L 65.5% C 0.077 H 120.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A9862
RGBrgb(138, 152, 98)
HSLhsl(76, 22%, 49%)
HSVhsv(76, 36%, 60%)
CMYKcmyk(9.2%, 0%, 35.5%, 40.4%)
CIE-LABlab(60.55, -14.32, 26.80)
CIE-LCHlch(60.55, 30.38, 118.11°)
OKLaboklab(65.49% -0.0389 0.0663)
OKLCHoklch(65.49% 0.077 120.4)
XYZxyz(23.9140, 28.7416, 15.8408)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9862 #706298
analogous
#988B62 #8A9862 #6F9862
triadic
#8A9862 #628A98 #98628A
tetradic
#8A9862 #62988B #706298 #98626F
square
#8A9862 #62988B #706298 #98626F
split-complementary
#8A9862 #626F98 #8B6298
monochromatic
#464E32 #68734A #8A9862 #A6B186 #C1C9AB

Accessibility & contrast

On white

3.11
#8A9862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8A9862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9862
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9862#FFFFFF#000000##000000
##8A98621.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E925E
Deuteranopia (green-blind)
#9D9265
Tritanopia (blue-blind)
#8F938A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9862;
/* rgb */ color: rgb(138, 152, 98);
/* oklch */ color: oklch(65.5% 0.077 120.4);
Tailwind
colors: {
  custom: {
    50: '#adb68f',
    500: '#8a9862',
    950: '#000000',
  },
}
SCSS
$custom: #8a9862;
$custom-light: #adb68f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9862",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 98
  },
  "hsl": {
    "h": 75.556,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.65489,
    "c": 0.0769,
    "h": 120.4
  },
  "luminance": 0.28742
}

Semantic roles & 50–950 ramp

primary
#8A9862
secondary
#A59EB8
accent
#6ABE80
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A9862

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

Preview Lab → · Contrast checker → · Palette generator →

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