#8AAF5A#8AAF5A

#8AAF5A is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.120 H 128.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8AAF5A
RGBrgb(138, 175, 90)
HSLhsl(86, 35%, 52%)
HSVhsv(86, 49%, 69%)
CMYKcmyk(21.1%, 0%, 48.6%, 31.4%)
CIE-LABlab(67.13, -26.98, 39.31)
CIE-LCHlch(67.13, 47.68, 124.47°)
OKLaboklab(70.73% -0.075 0.0943)
OKLCHoklch(70.73% 0.121 128.5)
XYZxyz(27.6564, 36.8010, 15.3171)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF5A #7F5AAF
analogous
#AFAA5A #8AAF5A #60AF5A
triadic
#8AAF5A #5A8AAF #AF5A8A
tetradic
#8AAF5A #5AAFAA #7F5AAF #AF5A60
square
#8AAF5A #5AAFAA #7F5AAF #AF5A60
split-complementary
#8AAF5A #5A60AF #AA5AAF
monochromatic
#4B602F #6A8943 #8AAF5A #A7C383 #C4D7AC

Accessibility & contrast

On white

2.51
#8AAF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8AAF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF5A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF5A#FFFFFF#000000##000000
##8AAF5A1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A553
Deuteranopia (green-blind)
#B1A35F
Tritanopia (blue-blind)
#8DA99B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf5a;
/* rgb */ color: rgb(138, 175, 90);
/* oklch */ color: oklch(70.7% 0.120 128.5);
Tailwind
colors: {
  custom: {
    50: '#aec78a',
    500: '#8aaf5a',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf5a;
$custom-light: #aec78a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf5a",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 86.118,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.1205,
    "h": 128.5
  },
  "luminance": 0.36801
}

Semantic roles & 50–950 ramp

primary
#8AAF5A
secondary
#B0A0C5
accent
#5DCB8D
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8AAF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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