#8AAF51#8AAF51

#8AAF51 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.6% C 0.130 H 127.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8AAF51
RGBrgb(138, 175, 81)
HSLhsl(84, 37%, 50%)
HSVhsv(84, 54%, 69%)
CMYKcmyk(21.1%, 0%, 53.7%, 31.4%)
CIE-LABlab(67.02, -27.96, 43.60)
CIE-LCHlch(67.02, 51.80, 122.67°)
OKLaboklab(70.6% -0.0784 0.1031)
OKLCHoklch(70.6% 0.13 127.3)
XYZxyz(27.2963, 36.6569, 13.4204)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF51 #7651AF
analogous
#AFA551 #8AAF51 #5BAF51
triadic
#8AAF51 #518AAF #AF518A
tetradic
#8AAF51 #51AFA5 #7651AF #AF515B
square
#8AAF51 #51AFA5 #7651AF #AF515B
split-complementary
#8AAF51 #515BAF #A551AF
monochromatic
#485C2A #69853D #8AAF51 #A6C27B #C2D6A5

Accessibility & contrast

On white

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

On black

8.33
#8AAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF51
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF51#FFFFFF#000000##000000
##8AAF511.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf51;
/* rgb */ color: rgb(138, 175, 81);
/* oklch */ color: oklch(70.6% 0.130 127.3);
Tailwind
colors: {
  custom: {
    50: '#aec784',
    500: '#8aaf51',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf51;
$custom-light: #aec784;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf51",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 83.617,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.12951,
    "h": 127.3
  },
  "luminance": 0.36657
}

Semantic roles & 50–950 ramp

primary
#8AAF51
secondary
#A999C3
accent
#5BCD88
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #8AAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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