#8AA12E#8AA12E

#8AA12E is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.9% C 0.140 H 120.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8AA12E
RGBrgb(138, 161, 46)
HSLhsl(72, 56%, 41%)
HSVhsv(72, 71%, 63%)
CMYKcmyk(14.3%, 0%, 71.4%, 36.9%)
CIE-LABlab(62.58, -23.93, 54.11)
CIE-LCHlch(62.58, 59.16, 113.86°)
OKLaboklab(66.93% -0.0705 0.121)
OKLCHoklch(66.93% 0.14 120.2)
XYZxyz(23.7197, 31.0903, 7.3357)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA12E #452EA1
analogous
#A17E2E #8AA12E #50A12E
triadic
#8AA12E #2E8AA1 #A12E8A
tetradic
#8AA12E #2EA17E #452EA1 #A12E50
square
#8AA12E #2EA17E #452EA1 #A12E50
split-complementary
#8AA12E #2E50A1 #7E2EA1
monochromatic
#384213 #617120 #8AA12E #AEC943 #C3D773

Accessibility & contrast

On white

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

On black

7.22
#8AA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA12E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA12E#FFFFFF#000000##000000
##8AA12E1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa12e;
/* rgb */ color: rgb(138, 161, 46);
/* oklch */ color: oklch(66.9% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#afbc6e',
    500: '#8aa12e',
    950: '#000000',
  },
}
SCSS
$custom: #8aa12e;
$custom-light: #afbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa12e",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 72,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66926,
    "c": 0.14002,
    "h": 120.2
  },
  "luminance": 0.3109
}

Semantic roles & 50–950 ramp

primary
#8AA12E
secondary
#7D6CBE
accent
#49DF67
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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