#8AAF32#8AAF32

#8AAF32 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.155 H 124.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8AAF32
RGBrgb(138, 175, 50)
HSLhsl(78, 56%, 44%)
HSVhsv(78, 71%, 69%)
CMYKcmyk(21.1%, 0%, 71.4%, 31.4%)
CIE-LABlab(66.74, -30.47, 56.74)
CIE-LCHlch(66.74, 64.41, 118.24°)
OKLaboklab(70.29% -0.0882 0.1272)
OKLCHoklch(70.29% 0.155 124.7)
XYZxyz(26.3871, 36.2932, 8.6321)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF32 #5732AF
analogous
#AF9632 #8AAF32 #4CAF32
triadic
#8AAF32 #328AAF #AF328A
tetradic
#8AAF32 #32AF96 #5732AF #AF324C
square
#8AAF32 #32AF96 #5732AF #AF324C
split-complementary
#8AAF32 #324CAF #9632AF
monochromatic
#3F5017 #647F24 #8AAF32 #A8CD51 #C0DB81

Accessibility & contrast

On white

2.54
#8AAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#8AAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF32
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF32#FFFFFF#000000##000000
##8AAF321.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41C
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#90A697
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf32;
/* rgb */ color: rgb(138, 175, 50);
/* oklch */ color: oklch(70.3% 0.155 124.7);
Tailwind
colors: {
  custom: {
    50: '#b0c772',
    500: '#8aaf32',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf32;
$custom-light: #b0c772;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf32",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 77.76,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.15473,
    "h": 124.7
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#8AAF32
secondary
#8F79C4
accent
#49DF75
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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