#8AA42A#8AA42A

#8AA42A is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.146 H 121.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8AA42A
RGBrgb(138, 164, 42)
HSLhsl(73, 59%, 40%)
HSVhsv(73, 74%, 64%)
CMYKcmyk(15.9%, 0%, 74.4%, 35.7%)
CIE-LABlab(63.44, -25.63, 56.41)
CIE-LCHlch(63.44, 61.96, 114.44°)
OKLaboklab(67.61% -0.0755 0.1252)
OKLCHoklch(67.61% 0.146 121.1)
XYZxyz(24.1750, 32.1214, 7.1165)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA42A #442AA4
analogous
#A4812A #8AA42A #4DA42A
triadic
#8AA42A #2A8AA4 #A42A8A
tetradic
#8AA42A #2AA481 #442AA4 #A42A4D
square
#8AA42A #2AA481 #442AA4 #A42A4D
split-complementary
#8AA42A #2A4DA4 #812AA4
monochromatic
#384311 #61731E #8AA42A #AFCD3E #C3DA6E

Accessibility & contrast

On white

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

On black

7.42
#8AA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA42A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA42A#FFFFFF#000000##000000
##8AA42A1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa42a;
/* rgb */ color: rgb(138, 164, 42);
/* oklch */ color: oklch(67.6% 0.146 121.1);
Tailwind
colors: {
  custom: {
    50: '#afbf6d',
    500: '#8aa42a',
    950: '#000000',
  },
}
SCSS
$custom: #8aa42a;
$custom-light: #afbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa42a",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 72.787,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67611,
    "c": 0.14618,
    "h": 121.1
  },
  "luminance": 0.32121
}

Semantic roles & 50–950 ramp

primary
#8AA42A
secondary
#7C69C1
accent
#45E267
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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