#8AAF55#8AAF55

#8AAF55 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.7% C 0.126 H 127.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8AAF55
RGBrgb(138, 175, 85)
HSLhsl(85, 36%, 51%)
HSVhsv(85, 51%, 69%)
CMYKcmyk(21.1%, 0%, 51.4%, 31.4%)
CIE-LABlab(67.07, -27.54, 41.71)
CIE-LCHlch(67.07, 49.98, 123.43°)
OKLaboklab(70.66% -0.0769 0.0993)
OKLCHoklch(70.66% 0.126 127.8)
XYZxyz(27.4507, 36.7187, 14.2337)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF55 #7A55AF
analogous
#AFA755 #8AAF55 #5DAF55
triadic
#8AAF55 #558AAF #AF558A
tetradic
#8AAF55 #55AFA7 #7A55AF #AF555D
square
#8AAF55 #55AFA7 #7A55AF #AF555D
split-complementary
#8AAF55 #555DAF #A755AF
monochromatic
#495E2C #6A8740 #8AAF55 #A7C37F #C3D6A8

Accessibility & contrast

On white

2.52
#8AAF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8AAF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF55
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF55#FFFFFF#000000##000000
##8AAF551.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54D
Deuteranopia (green-blind)
#B1A35A
Tritanopia (blue-blind)
#8EA89A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf55;
/* rgb */ color: rgb(138, 175, 85);
/* oklch */ color: oklch(70.7% 0.126 127.8);
Tailwind
colors: {
  custom: {
    50: '#aec787',
    500: '#8aaf55',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf55;
$custom-light: #aec787;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf55",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 84.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70657,
    "c": 0.12559,
    "h": 127.8
  },
  "luminance": 0.36719
}

Semantic roles & 50–950 ramp

primary
#8AAF55
secondary
#AC9CC4
accent
#5CCC8A
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #8AAF55

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

Preview Lab → · Contrast checker → · Palette generator →

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