#8AB12F#8AB12F

#8AB12F is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.159 H 125.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8AB12F
RGBrgb(138, 177, 47)
HSLhsl(78, 58%, 44%)
HSVhsv(78, 73%, 69%)
CMYKcmyk(22%, 0%, 73.4%, 30.6%)
CIE-LABlab(67.32, -31.59, 58.40)
CIE-LCHlch(67.32, 66.39, 118.41°)
OKLaboklab(70.75% -0.0915 0.1301)
OKLCHoklch(70.75% 0.159 125.1)
XYZxyz(26.7167, 37.0525, 8.4331)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB12F #562FB1
analogous
#B1972F #8AB12F #49B12F
triadic
#8AB12F #2F8AB1 #B12F8A
tetradic
#8AB12F #2FB197 #562FB1 #B12F49
square
#8AB12F #2FB197 #562FB1 #B12F49
split-complementary
#8AB12F #2F49B1 #972FB1
monochromatic
#3F5015 #648122 #8AB12F #A9D04D #C0DD7E

Accessibility & contrast

On white

2.50
#8AB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#8AB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB12F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB12F#FFFFFF#000000##000000
##8AB12F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B6A33B
Tritanopia (blue-blind)
#90A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab12f;
/* rgb */ color: rgb(138, 177, 47);
/* oklch */ color: oklch(70.8% 0.159 125.1);
Tailwind
colors: {
  custom: {
    50: '#b0c871',
    500: '#8ab12f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab12f;
$custom-light: #b0c871;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab12f",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 78,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.15908,
    "h": 125.1
  },
  "luminance": 0.37053
}

Semantic roles & 50–950 ramp

primary
#8AB12F
secondary
#8E76C5
accent
#47E175
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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