#8AB42B#8AB42B

#8AB42B is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.4% C 0.165 H 125.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8AB42B
RGBrgb(138, 180, 43)
HSLhsl(78, 61%, 44%)
HSVhsv(78, 76%, 71%)
CMYKcmyk(23.3%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.18, -33.21, 60.59)
CIE-LCHlch(68.18, 69.09, 118.72°)
OKLaboklab(71.45% -0.0962 0.1341)
OKLCHoklch(71.45% 0.165 125.7)
XYZxyz(27.2387, 38.2198, 8.2271)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB42B #552BB4
analogous
#B4992B #8AB42B #45B42B
triadic
#8AB42B #2B8AB4 #B42B8A
tetradic
#8AB42B #2BB499 #552BB4 #B42B45
square
#8AB42B #2BB499 #552BB4 #B42B45
split-complementary
#8AB42B #2B45B4 #992BB4
monochromatic
#3E5113 #64831F #8AB42B #A9D349 #C0DF7A

Accessibility & contrast

On white

2.43
#8AB42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#8AB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB42B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB42B#FFFFFF#000000##000000
##8AB42B1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#B8A638
Tritanopia (blue-blind)
#90AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab42b;
/* rgb */ color: rgb(138, 180, 43);
/* oklch */ color: oklch(71.4% 0.165 125.7);
Tailwind
colors: {
  custom: {
    50: '#b0ca6f',
    500: '#8ab42b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab42b;
$custom-light: #b0ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab42b",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 78.394,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.16506,
    "h": 125.7
  },
  "luminance": 0.3822
}

Semantic roles & 50–950 ramp

primary
#8AB42B
secondary
#8D73C7
accent
#43E575
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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