#8AA42E#8AA42E

#8AA42E is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.6% C 0.144 H 121.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8AA42E
RGBrgb(138, 164, 46)
HSLhsl(73, 56%, 41%)
HSVhsv(73, 72%, 64%)
CMYKcmyk(15.9%, 0%, 72%, 35.7%)
CIE-LABlab(63.47, -25.41, 54.98)
CIE-LCHlch(63.47, 60.57, 114.80°)
OKLaboklab(67.64% -0.0746 0.1228)
OKLCHoklch(67.64% 0.144 121.3)
XYZxyz(24.2502, 32.1515, 7.5125)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA42E #482EA4
analogous
#A4832E #8AA42E #4FA42E
triadic
#8AA42E #2E8AA4 #A42E8A
tetradic
#8AA42E #2EA483 #482EA4 #A42E4F
square
#8AA42E #2EA483 #482EA4 #A42E4F
split-complementary
#8AA42E #2E4FA4 #832EA4
monochromatic
#3A4413 #627421 #8AA42E #ADCB45 #C2D874

Accessibility & contrast

On white

2.83
#8AA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8AA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA42E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA42E#FFFFFF#000000##000000
##8AA42E1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#929B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa42e;
/* rgb */ color: rgb(138, 164, 46);
/* oklch */ color: oklch(67.6% 0.144 121.3);
Tailwind
colors: {
  custom: {
    50: '#afbf6f',
    500: '#8aa42e',
    950: '#000000',
  },
}
SCSS
$custom: #8aa42e;
$custom-light: #afbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa42e",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 73.22,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67639,
    "c": 0.14369,
    "h": 121.3
  },
  "luminance": 0.32151
}

Semantic roles & 50–950 ramp

primary
#8AA42E
secondary
#806EC0
accent
#48DF6A
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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