#8AAF5F#8AAF5F

#8AAF5F is a light, moderate yellow-green. Relative luminance 0.369; OKLCH L 70.8% C 0.115 H 129.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8AAF5F
RGBrgb(138, 175, 95)
HSLhsl(88, 33%, 53%)
HSVhsv(88, 46%, 69%)
CMYKcmyk(21.1%, 0%, 45.7%, 31.4%)
CIE-LABlab(67.19, -26.39, 36.86)
CIE-LCHlch(67.19, 45.33, 125.60°)
OKLaboklab(70.8% -0.073 0.0892)
OKLCHoklch(70.8% 0.115 129.3)
XYZxyz(27.8765, 36.8890, 16.4759)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF5F #845FAF
analogous
#AFAC5F #8AAF5F #62AF5F
triadic
#8AAF5F #5F8AAF #AF5F8A
tetradic
#8AAF5F #5FAFAC #845FAF #AF5F62
square
#8AAF5F #5FAFAC #845FAF #AF5F62
split-complementary
#8AAF5F #5F62AF #AC5FAF
monochromatic
#4C6231 #6B8B46 #8AAF5F #A8C388 #C6D8B1

Accessibility & contrast

On white

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

On black

8.38
#8AAF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF5F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF5F#FFFFFF#000000##000000
##8AAF5F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A559
Deuteranopia (green-blind)
#B0A364
Tritanopia (blue-blind)
#8DA99C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8aaf5f;
/* rgb */ color: rgb(138, 175, 95);
/* oklch */ color: oklch(70.8% 0.115 129.3);
Tailwind
colors: {
  custom: {
    50: '#aec78e',
    500: '#8aaf5f',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf5f;
$custom-light: #aec78e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf5f",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 87.75,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.11525,
    "h": 129.3
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#8AAF5F
secondary
#B4A4C6
accent
#5EC990
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8AAF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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