#8AB127#8AB127

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

Color values

HEX#8AB127
RGBrgb(138, 177, 39)
HSLhsl(77, 64%, 42%)
HSVhsv(77, 78%, 69%)
CMYKcmyk(22%, 0%, 78%, 30.6%)
CIE-LABlab(67.27, -32.00, 61.01)
CIE-LCHlch(67.27, 68.89, 117.68°)
OKLaboklab(70.7% -0.0932 0.1344)
OKLCHoklch(70.7% 0.164 124.8)
XYZxyz(26.5698, 36.9937, 7.6598)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB127 #4E27B1
analogous
#B19327 #8AB127 #45B127
triadic
#8AB127 #278AB1 #B1278A
tetradic
#8AB127 #27B193 #4E27B1 #B12745
square
#8AB127 #27B193 #4E27B1 #B12745
split-complementary
#8AB127 #2745B1 #9327B1
monochromatic
#3C4D11 #637F1C #8AB127 #ABD540 #C1E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB127#FFFFFF#000000##000000
##8AB1271.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)
#BBA500
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#91A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab127;
/* rgb */ color: rgb(138, 177, 39);
/* oklch */ color: oklch(70.7% 0.164 124.8);
Tailwind
colors: {
  custom: {
    50: '#b0c86d',
    500: '#8ab127',
    950: '#000000',
  },
}
SCSS
$custom: #8ab127;
$custom-light: #b0c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab127",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 76.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.16353,
    "h": 124.8
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

primary
#8AB127
secondary
#866DC7
accent
#41E770
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB127

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

Preview Lab → · Contrast checker → · Palette generator →

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