#8AA340#8AA340

#8AA340 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.6% C 0.129 H 121.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8AA340
RGBrgb(138, 163, 64)
HSLhsl(75, 44%, 45%)
HSVhsv(75, 61%, 64%)
CMYKcmyk(15.3%, 0%, 60.7%, 36.1%)
CIE-LABlab(63.32, -23.65, 47.34)
CIE-LCHlch(63.32, 52.92, 116.55°)
OKLaboklab(67.56% -0.068 0.1093)
OKLCHoklch(67.56% 0.129 121.9)
XYZxyz(24.5041, 31.9678, 9.7290)
Luminance0.3197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA340 #5940A3
analogous
#A38B40 #8AA340 #58A340
triadic
#8AA340 #408AA3 #A3408A
tetradic
#8AA340 #40A38B #5940A3 #A34058
square
#8AA340 #40A38B #5940A3 #A34058
split-complementary
#8AA340 #4058A3 #8B40A3
monochromatic
#404B1D #65772F #8AA340 #A8C060 #C0D28C

Accessibility & contrast

On white

2.84
#8AA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8AA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA340
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA340#FFFFFF#000000##000000
##8AA3401.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#A99947
Tritanopia (blue-blind)
#919B8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8aa340;
/* rgb */ color: rgb(138, 163, 64);
/* oklch */ color: oklch(67.6% 0.129 121.9);
Tailwind
colors: {
  custom: {
    50: '#aebe79',
    500: '#8aa340',
    950: '#000000',
  },
}
SCSS
$custom: #8aa340;
$custom-light: #aebe79;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa340",
  "rgb": {
    "r": 138,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 75.152,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67563,
    "c": 0.12873,
    "h": 121.9
  },
  "luminance": 0.31968
}

Semantic roles & 50–950 ramp

primary
#8AA340
secondary
#9182BD
accent
#54D374
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8AA340

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

Preview Lab → · Contrast checker → · Palette generator →

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