#8AB42D#8AB42D

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

Color values

HEX#8AB42D
RGBrgb(138, 180, 45)
HSLhsl(79, 60%, 44%)
HSVhsv(79, 75%, 71%)
CMYKcmyk(23.3%, 0%, 75%, 29.4%)
CIE-LABlab(68.19, -33.10, 59.94)
CIE-LCHlch(68.19, 68.47, 118.91°)
OKLaboklab(71.46% -0.0958 0.1331)
OKLCHoklch(71.46% 0.164 125.7)
XYZxyz(27.2763, 38.2349, 8.4251)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB42D #572DB4
analogous
#B49B2D #8AB42D #46B42D
triadic
#8AB42D #2D8AB4 #B42D8A
tetradic
#8AB42D #2DB49B #572DB4 #B42D46
square
#8AB42D #2DB49B #572DB4 #B42D46
split-complementary
#8AB42D #2D46B4 #9B2DB4
monochromatic
#3F5215 #648321 #8AB42D #A8D24C #C0DE7D

Accessibility & contrast

On white

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

On black

8.65
#8AB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB42D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB42D#FFFFFF#000000##000000
##8AB42D1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab42d;
/* rgb */ color: rgb(138, 180, 45);
/* oklch */ color: oklch(71.5% 0.164 125.7);
Tailwind
colors: {
  custom: {
    50: '#b0ca70',
    500: '#8ab42d',
    950: '#000000',
  },
}
SCSS
$custom: #8ab42d;
$custom-light: #b0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab42d",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 78.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71458,
    "c": 0.16394,
    "h": 125.7
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#8AB42D
secondary
#8F76C7
accent
#45E376
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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