#8ABA42#8ABA42

#8ABA42 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.1% C 0.157 H 128.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8ABA42
RGBrgb(138, 186, 66)
HSLhsl(84, 48%, 49%)
HSVhsv(84, 65%, 73%)
CMYKcmyk(25.8%, 0%, 64.5%, 27.1%)
CIE-LABlab(70.12, -34.49, 53.88)
CIE-LCHlch(70.12, 63.97, 122.63°)
OKLaboklab(73.06% -0.0978 0.1234)
OKLCHoklch(73.06% 0.157 128.4)
XYZxyz(29.0234, 40.9138, 11.5212)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ABA42 #7242BA
analogous
#BAAE42 #8ABA42 #4EBA42
triadic
#8ABA42 #428ABA #BA428A
tetradic
#8ABA42 #42BAAE #7242BA #BA424E
square
#8ABA42 #42BAAE #7242BA #BA424E
split-complementary
#8ABA42 #424EBA #AE42BA
monochromatic
#476022 #688D32 #8ABA42 #A6CB6E #C2DB9B

Accessibility & contrast

On white

2.29
#8ABA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8ABA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ABA42
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ABA42#FFFFFF#000000##000000
##8ABA421.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#BCAA4B
Tritanopia (blue-blind)
#8EB2A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8aba42;
/* rgb */ color: rgb(138, 186, 66);
/* oklch */ color: oklch(73.1% 0.157 128.4);
Tailwind
colors: {
  custom: {
    50: '#afcf7c',
    500: '#8aba42',
    950: '#000000',
  },
}
SCSS
$custom: #8aba42;
$custom-light: #afcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8aba42",
  "rgb": {
    "r": 138,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 84,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73063,
    "c": 0.15747,
    "h": 128.4
  },
  "luminance": 0.40914
}

Semantic roles & 50–950 ramp

primary
#8ABA42
secondary
#A690C8
accent
#51D786
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8ABA42

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

Preview Lab → · Contrast checker → · Palette generator →

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