#8AA12F#8AA12F

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

Color values

HEX#8AA12F
RGBrgb(138, 161, 47)
HSLhsl(72, 55%, 41%)
HSVhsv(72, 71%, 63%)
CMYKcmyk(14.3%, 0%, 70.8%, 36.9%)
CIE-LABlab(62.59, -23.87, 53.73)
CIE-LCHlch(62.59, 58.80, 113.95°)
OKLaboklab(66.93% -0.0702 0.1204)
OKLCHoklch(66.93% 0.139 120.3)
XYZxyz(23.7396, 31.0983, 7.4407)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA12F #462FA1
analogous
#A17F2F #8AA12F #51A12F
triadic
#8AA12F #2F8AA1 #A12F8A
tetradic
#8AA12F #2FA17F #462FA1 #A12F51
square
#8AA12F #2FA17F #462FA1 #A12F51
split-complementary
#8AA12F #2F51A1 #7F2FA1
monochromatic
#394213 #617221 #8AA12F #AEC945 #C3D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA12F#FFFFFF#000000##000000
##8AA12F1.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)
#AB981C
Deuteranopia (green-blind)
#A89838
Tritanopia (blue-blind)
#92988B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa12f;
/* rgb */ color: rgb(138, 161, 47);
/* oklch */ color: oklch(66.9% 0.139 120.3);
Tailwind
colors: {
  custom: {
    50: '#afbc6f',
    500: '#8aa12f',
    950: '#000000',
  },
}
SCSS
$custom: #8aa12f;
$custom-light: #afbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa12f",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 72.105,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66934,
    "c": 0.13935,
    "h": 120.3
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#8AA12F
secondary
#7E6EBE
accent
#4ADE68
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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