#8AAA5F#8AAA5F

#8AAA5F is a light, moderate yellow-green. Relative luminance 0.350; OKLCH L 69.6% C 0.108 H 127.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8AAA5F
RGBrgb(138, 170, 95)
HSLhsl(86, 31%, 52%)
HSVhsv(86, 44%, 67%)
CMYKcmyk(18.8%, 0%, 44.1%, 33.3%)
CIE-LABlab(65.73, -23.93, 35.03)
CIE-LCHlch(65.73, 42.42, 124.34°)
OKLaboklab(69.63% -0.0661 0.0851)
OKLCHoklch(69.63% 0.108 127.8)
XYZxyz(26.9213, 34.9786, 16.1575)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA5F #7F5FAA
analogous
#AAA55F #8AAA5F #65AA5F
triadic
#8AAA5F #5F8AAA #AA5F8A
tetradic
#8AAA5F #5FAAA5 #7F5FAA #AA5F65
square
#8AAA5F #5FAAA5 #7F5FAA #AA5F65
split-complementary
#8AAA5F #5F65AA #A55FAA
monochromatic
#4B5D31 #6A8547 #8AAA5F #A7BF87 #C4D4AF

Accessibility & contrast

On white

2.63
#8AAA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#8AAA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA5F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA5F#FFFFFF#000000##000000
##8AAA5F1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A159
Deuteranopia (green-blind)
#AC9F63
Tritanopia (blue-blind)
#8DA498
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8aaa5f;
/* rgb */ color: rgb(138, 170, 95);
/* oklch */ color: oklch(69.6% 0.108 127.8);
Tailwind
colors: {
  custom: {
    50: '#adc38e',
    500: '#8aaa5f',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa5f;
$custom-light: #adc38e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa5f",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 95
  },
  "hsl": {
    "h": 85.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.69625,
    "c": 0.10774,
    "h": 127.8
  },
  "luminance": 0.34979
}

Semantic roles & 50–950 ramp

primary
#8AAA5F
secondary
#B0A2C3
accent
#61C78C
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10120C
muted
#7F817D

Preview Lab

Preview with #8AAA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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