#8AA126#8AA126

#8AA126 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.9% C 0.145 H 120.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8AA126
RGBrgb(138, 161, 38)
HSLhsl(71, 62%, 39%)
HSVhsv(71, 76%, 63%)
CMYKcmyk(14.3%, 0%, 76.4%, 36.9%)
CIE-LABlab(62.54, -24.36, 56.92)
CIE-LCHlch(62.54, 61.91, 113.17°)
OKLaboklab(66.87% -0.0724 0.1255)
OKLCHoklch(66.87% 0.145 120)
XYZxyz(23.5764, 31.0331, 6.5813)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA126 #3D26A1
analogous
#A17B26 #8AA126 #4CA126
triadic
#8AA126 #268AA1 #A1268A
tetradic
#8AA126 #26A17B #3D26A1 #A1264C
square
#8AA126 #26A17B #3D26A1 #A1264C
split-complementary
#8AA126 #264CA1 #7B26A1
monochromatic
#353E0F #606F1A #8AA126 #B2CF35 #C5DB66

Accessibility & contrast

On white

2.91
#8AA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8AA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA126
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA126#FFFFFF#000000##000000
##8AA1261.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9707
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#92988A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa126;
/* rgb */ color: rgb(138, 161, 38);
/* oklch */ color: oklch(66.9% 0.145 120.0);
Tailwind
colors: {
  custom: {
    50: '#b0bc6a',
    500: '#8aa126',
    950: '#000000',
  },
}
SCSS
$custom: #8aa126;
$custom-light: #b0bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa126",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 71.22,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.14491,
    "h": 120
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#8AA126
secondary
#7462C1
accent
#43E561
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA126

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

Preview Lab → · Contrast checker → · Palette generator →

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