#8AB62B#8AB62B

#8AB62B is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.9% C 0.167 H 126.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8AB62B
RGBrgb(138, 182, 43)
HSLhsl(79, 62%, 44%)
HSVhsv(79, 76%, 71%)
CMYKcmyk(24.2%, 0%, 76.4%, 28.6%)
CIE-LABlab(68.78, -34.13, 61.15)
CIE-LCHlch(68.78, 70.03, 119.17°)
OKLaboklab(71.93% -0.0987 0.1353)
OKLCHoklch(71.93% 0.167 126.1)
XYZxyz(27.6454, 39.0331, 8.3627)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB62B #572BB6
analogous
#B69D2B #8AB62B #44B62B
triadic
#8AB62B #2B8AB6 #B62B8A
tetradic
#8AB62B #2BB69D #572BB6 #B62B44
square
#8AB62B #2BB69D #572BB6 #B62B44
split-complementary
#8AB62B #2B44B6 #9D2BB6
monochromatic
#3F5314 #64841F #8AB62B #A8D44A #C0E07B

Accessibility & contrast

On white

2.38
#8AB62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8AB62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB62B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB62B#FFFFFF#000000##000000
##8AB62B1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A906
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#90AD9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab62b;
/* rgb */ color: rgb(138, 182, 43);
/* oklch */ color: oklch(71.9% 0.167 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0cc6f',
    500: '#8ab62b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab62b;
$custom-light: #b0cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab62b",
  "rgb": {
    "r": 138,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 78.993,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71926,
    "c": 0.16749,
    "h": 126.1
  },
  "luminance": 0.39034
}

Semantic roles & 50–950 ramp

primary
#8AB62B
secondary
#8F75C8
accent
#43E576
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB62B

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

Preview Lab → · Contrast checker → · Palette generator →

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