#8AAB2F#8AAB2F

#8AAB2F is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 69.3% C 0.152 H 123.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8AAB2F
RGBrgb(138, 171, 47)
HSLhsl(76, 57%, 43%)
HSVhsv(76, 73%, 67%)
CMYKcmyk(19.3%, 0%, 72.5%, 32.9%)
CIE-LABlab(65.54, -28.75, 56.66)
CIE-LCHlch(65.54, 63.53, 116.90°)
OKLaboklab(69.32% -0.0837 0.1265)
OKLCHoklch(69.32% 0.152 123.5)
XYZxyz(25.5575, 34.7342, 8.0467)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB2F #502FAB
analogous
#AB8E2F #8AAB2F #4CAB2F
triadic
#8AAB2F #2F8AAB #AB2F8A
tetradic
#8AAB2F #2FAB8E #502FAB #AB2F4C
square
#8AAB2F #2FAB8E #502FAB #AB2F4C
split-complementary
#8AAB2F #2F4CAB #8E2FAB
monochromatic
#3D4B15 #637B22 #8AAB2F #AACD4A #C1DA7A

Accessibility & contrast

On white

2.64
#8AAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#8AAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB2F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB2F#FFFFFF#000000##000000
##8AAB2F1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#B19F3A
Tritanopia (blue-blind)
#91A293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab2f;
/* rgb */ color: rgb(138, 171, 47);
/* oklch */ color: oklch(69.3% 0.152 123.5);
Tailwind
colors: {
  custom: {
    50: '#afc470',
    500: '#8aab2f',
    950: '#000000',
  },
}
SCSS
$custom: #8aab2f;
$custom-light: #afc470;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab2f",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 75.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69315,
    "c": 0.15167,
    "h": 123.5
  },
  "luminance": 0.34734
}

Semantic roles & 50–950 ramp

primary
#8AAB2F
secondary
#8873C3
accent
#48E070
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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