#8AB126#8AB126

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

Color values

HEX#8AB126
RGBrgb(138, 177, 38)
HSLhsl(77, 65%, 42%)
HSVhsv(77, 79%, 69%)
CMYKcmyk(22%, 0%, 78.5%, 30.6%)
CIE-LABlab(67.27, -32.05, 61.31)
CIE-LCHlch(67.27, 69.18, 117.60°)
OKLaboklab(70.7% -0.0934 0.1348)
OKLCHoklch(70.7% 0.164 124.7)
XYZxyz(26.5535, 36.9872, 7.5737)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB126 #4D26B1
analogous
#B19326 #8AB126 #44B126
triadic
#8AB126 #268AB1 #B1268A
tetradic
#8AB126 #26B193 #4D26B1 #B12644
square
#8AB126 #26B193 #4D26B1 #B12644
split-complementary
#8AB126 #2644B1 #9326B1
monochromatic
#3B4C10 #637F1B #8AB126 #ABD63F #C1E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB126#FFFFFF#000000##000000
##8AB1261.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)
#B6A334
Tritanopia (blue-blind)
#91A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab126;
/* rgb */ color: rgb(138, 177, 38);
/* oklch */ color: oklch(70.7% 0.164 124.7);
Tailwind
colors: {
  custom: {
    50: '#b0c86d',
    500: '#8ab126',
    950: '#000000',
  },
}
SCSS
$custom: #8ab126;
$custom-light: #b0c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab126",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 76.835,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.16403,
    "h": 124.7
  },
  "luminance": 0.36987
}

Semantic roles & 50–950 ramp

primary
#8AB126
secondary
#856BC7
accent
#40E86F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB126

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

Preview Lab → · Contrast checker → · Palette generator →

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