#8AA040#8AA040

#8AA040 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.9% C 0.125 H 120.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8AA040
RGBrgb(138, 160, 64)
HSLhsl(74, 43%, 44%)
HSVhsv(74, 60%, 63%)
CMYKcmyk(13.8%, 0%, 60%, 37.3%)
CIE-LABlab(62.44, -22.15, 46.36)
CIE-LCHlch(62.44, 51.38, 115.54°)
OKLaboklab(66.85% -0.0638 0.1072)
OKLCHoklch(66.85% 0.125 120.7)
XYZxyz(23.9777, 30.9151, 9.5535)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA040 #5640A0
analogous
#A08640 #8AA040 #5AA040
triadic
#8AA040 #408AA0 #A0408A
tetradic
#8AA040 #40A086 #5640A0 #A0405A
square
#8AA040 #40A086 #5640A0 #A0405A
split-complementary
#8AA040 #405AA0 #8640A0
monochromatic
#3F491D #64742F #8AA040 #A9BF5E #C0D08A

Accessibility & contrast

On white

2.92
#8AA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8AA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA040
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA040#FFFFFF#000000##000000
##8AA0401.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99735
Deuteranopia (green-blind)
#A79746
Tritanopia (blue-blind)
#91988B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa040;
/* rgb */ color: rgb(138, 160, 64);
/* oklch */ color: oklch(66.9% 0.125 120.7);
Tailwind
colors: {
  custom: {
    50: '#aebc79',
    500: '#8aa040',
    950: '#000000',
  },
}
SCSS
$custom: #8aa040;
$custom-light: #aebc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa040",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 73.75,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.12478,
    "h": 120.7
  },
  "luminance": 0.30915
}

Semantic roles & 50–950 ramp

primary
#8AA040
secondary
#8E81BB
accent
#55D372
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8AA040

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

Preview Lab → · Contrast checker → · Palette generator →

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