#8AAF5E#8AAF5E

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

Color values

HEX#8AAF5E
RGBrgb(138, 175, 94)
HSLhsl(87, 34%, 53%)
HSVhsv(87, 46%, 69%)
CMYKcmyk(21.1%, 0%, 46.3%, 31.4%)
CIE-LABlab(67.18, -26.51, 37.35)
CIE-LCHlch(67.18, 45.81, 125.37°)
OKLaboklab(70.79% -0.0734 0.0902)
OKLCHoklch(70.79% 0.116 129.1)
XYZxyz(27.8313, 36.8709, 16.2380)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF5E #835EAF
analogous
#AFAB5E #8AAF5E #62AF5E
triadic
#8AAF5E #5E8AAF #AF5E8A
tetradic
#8AAF5E #5EAFAB #835EAF #AF5E62
square
#8AAF5E #5EAFAB #835EAF #AF5E62
split-complementary
#8AAF5E #5E62AF #AB5EAF
monochromatic
#4B6231 #6B8B45 #8AAF5E #A8C387 #C5D8B0

Accessibility & contrast

On white

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

On black

8.37
#8AAF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF5E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF5E#FFFFFF#000000##000000
##8AAF5E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A557
Deuteranopia (green-blind)
#B0A363
Tritanopia (blue-blind)
#8DA99C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf5e;
/* rgb */ color: rgb(138, 175, 94);
/* oklch */ color: oklch(70.8% 0.116 129.1);
Tailwind
colors: {
  custom: {
    50: '#aec78d',
    500: '#8aaf5e',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf5e;
$custom-light: #aec78d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf5e",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 87.407,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70787,
    "c": 0.11631,
    "h": 129.1
  },
  "luminance": 0.36871
}

Semantic roles & 50–950 ramp

primary
#8AAF5E
secondary
#B3A3C6
accent
#5ECA8F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8AAF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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