#8AAF57#8AAF57

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

Color values

HEX#8AAF57
RGBrgb(138, 175, 87)
HSLhsl(85, 35%, 51%)
HSVhsv(85, 50%, 69%)
CMYKcmyk(21.1%, 0%, 50.3%, 31.4%)
CIE-LABlab(67.09, -27.32, 40.76)
CIE-LCHlch(67.09, 49.06, 123.84°)
OKLaboklab(70.69% -0.0761 0.0973)
OKLCHoklch(70.69% 0.124 128)
XYZxyz(27.5313, 36.7509, 14.6581)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF57 #7C57AF
analogous
#AFA857 #8AAF57 #5EAF57
triadic
#8AAF57 #578AAF #AF578A
tetradic
#8AAF57 #57AFA8 #7C57AF #AF575E
square
#8AAF57 #57AFA8 #7C57AF #AF575E
split-complementary
#8AAF57 #575EAF #A857AF
monochromatic
#4A5F2D #6A8841 #8AAF57 #A7C380 #C4D6AA

Accessibility & contrast

On white

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

On black

8.35
#8AAF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF57
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF57#FFFFFF#000000##000000
##8AAF571.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A54F
Deuteranopia (green-blind)
#B1A35C
Tritanopia (blue-blind)
#8EA89B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf57;
/* rgb */ color: rgb(138, 175, 87);
/* oklch */ color: oklch(70.7% 0.124 128.0);
Tailwind
colors: {
  custom: {
    50: '#aec788',
    500: '#8aaf57',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf57;
$custom-light: #aec788;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf57",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 85.227,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.12357,
    "h": 128
  },
  "luminance": 0.36751
}

Semantic roles & 50–950 ramp

primary
#8AAF57
secondary
#AE9EC4
accent
#5CCC8B
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #8AAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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