#8AB128#8AB128

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

Color values

HEX#8AB128
RGBrgb(138, 177, 40)
HSLhsl(77, 63%, 43%)
HSVhsv(77, 77%, 69%)
CMYKcmyk(22%, 0%, 77.4%, 30.6%)
CIE-LABlab(67.28, -31.96, 60.70)
CIE-LCHlch(67.28, 68.60, 117.76°)
OKLaboklab(70.71% -0.093 0.1339)
OKLCHoklch(70.71% 0.163 124.8)
XYZxyz(26.5866, 37.0005, 7.7482)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB128 #4F28B1
analogous
#B19328 #8AB128 #46B128
triadic
#8AB128 #288AB1 #B1288A
tetradic
#8AB128 #28B193 #4F28B1 #B12846
square
#8AB128 #28B193 #4F28B1 #B12846
split-complementary
#8AB128 #2846B1 #9328B1
monochromatic
#3C4D11 #637F1D #8AB128 #ABD442 #C1E074

Accessibility & contrast

On white

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

On black

8.40
#8AB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB128
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB128#FFFFFF#000000##000000
##8AB1281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA501
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#91A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab128;
/* rgb */ color: rgb(138, 177, 40);
/* oklch */ color: oklch(70.7% 0.163 124.8);
Tailwind
colors: {
  custom: {
    50: '#b0c86d',
    500: '#8ab128',
    950: '#000000',
  },
}
SCSS
$custom: #8ab128;
$custom-light: #b0c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab128",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 77.08,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.16301,
    "h": 124.8
  },
  "luminance": 0.37001
}

Semantic roles & 50–950 ramp

primary
#8AB128
secondary
#876EC7
accent
#42E670
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB128

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

Preview Lab → · Contrast checker → · Palette generator →

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