#8AA342#8AA342

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

Color values

HEX#8AA342
RGBrgb(138, 163, 66)
HSLhsl(75, 42%, 45%)
HSVhsv(75, 60%, 64%)
CMYKcmyk(15.3%, 0%, 59.5%, 36.1%)
CIE-LABlab(63.34, -23.49, 46.45)
CIE-LCHlch(63.34, 52.05, 116.82°)
OKLaboklab(67.58% -0.0673 0.1077)
OKLCHoklch(67.58% 0.127 122)
XYZxyz(24.5620, 31.9910, 10.0341)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA342 #5B42A3
analogous
#A38C42 #8AA342 #59A342
triadic
#8AA342 #428AA3 #A3428A
tetradic
#8AA342 #42A38C #5B42A3 #A34259
square
#8AA342 #42A38C #5B42A3 #A34259
split-complementary
#8AA342 #4259A3 #8C42A3
monochromatic
#404C1F #657730 #8AA342 #A8C063 #C0D18E

Accessibility & contrast

On white

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

On black

7.40
#8AA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA342
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA342#FFFFFF#000000##000000
##8AA3421.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa342;
/* rgb */ color: rgb(138, 163, 66);
/* oklch */ color: oklch(67.6% 0.127 122.0);
Tailwind
colors: {
  custom: {
    50: '#aebe7a',
    500: '#8aa342',
    950: '#000000',
  },
}
SCSS
$custom: #8aa342;
$custom-light: #aebe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa342",
  "rgb": {
    "r": 138,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 75.464,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.12697,
    "h": 122
  },
  "luminance": 0.31991
}

Semantic roles & 50–950 ramp

primary
#8AA342
secondary
#9384BC
accent
#56D276
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8AA342

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

Preview Lab → · Contrast checker → · Palette generator →

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