#8AB12C#8AB12C

#8AB12C is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.7% C 0.161 H 125.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8AB12C
RGBrgb(138, 177, 44)
HSLhsl(78, 60%, 43%)
HSVhsv(78, 75%, 69%)
CMYKcmyk(22%, 0%, 75.1%, 30.6%)
CIE-LABlab(67.30, -31.76, 59.42)
CIE-LCHlch(67.30, 67.37, 118.12°)
OKLaboklab(70.73% -0.0922 0.1318)
OKLCHoklch(70.73% 0.161 125)
XYZxyz(26.6582, 37.0291, 8.1253)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB12C #532CB1
analogous
#B1952C #8AB12C #47B12C
triadic
#8AB12C #2C8AB1 #B12C8A
tetradic
#8AB12C #2CB195 #532CB1 #B12C47
square
#8AB12C #2CB195 #532CB1 #B12C47
split-complementary
#8AB12C #2C47B1 #952CB1
monochromatic
#3E4F14 #648020 #8AB12C #A9D249 #C0DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB12C#FFFFFF#000000##000000
##8AB12C1.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)
#BBA50E
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#90A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab12c;
/* rgb */ color: rgb(138, 177, 44);
/* oklch */ color: oklch(70.7% 0.161 125.0);
Tailwind
colors: {
  custom: {
    50: '#b0c86f',
    500: '#8ab12c',
    950: '#000000',
  },
}
SCSS
$custom: #8ab12c;
$custom-light: #b0c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab12c",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 77.594,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.16084,
    "h": 125
  },
  "luminance": 0.37029
}

Semantic roles & 50–950 ramp

primary
#8AB12C
secondary
#8B73C6
accent
#44E373
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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