#8AAB2B#8AAB2B

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

Color values

HEX#8AAB2B
RGBrgb(138, 171, 43)
HSLhsl(75, 60%, 42%)
HSVhsv(75, 75%, 67%)
CMYKcmyk(19.3%, 0%, 74.9%, 32.9%)
CIE-LABlab(65.52, -28.97, 58.05)
CIE-LCHlch(65.52, 64.88, 116.52°)
OKLaboklab(69.29% -0.0846 0.1288)
OKLCHoklch(69.29% 0.154 123.3)
XYZxyz(25.4805, 34.7034, 7.6411)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB2B #4C2BAB
analogous
#AB8C2B #8AAB2B #4AAB2B
triadic
#8AAB2B #2B8AAB #AB2B8A
tetradic
#8AAB2B #2BAB8C #4C2BAB #AB2B4A
square
#8AAB2B #2BAB8C #4C2BAB #AB2B4A
split-complementary
#8AAB2B #2B4AAB #8C2BAB
monochromatic
#3B4912 #637A1F #8AAB2B #ACD043 #C1DC74

Accessibility & contrast

On white

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

On black

7.94
#8AAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB2B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB2B#FFFFFF#000000##000000
##8AAB2B1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aab2b;
/* rgb */ color: rgb(138, 171, 43);
/* oklch */ color: oklch(69.3% 0.154 123.3);
Tailwind
colors: {
  custom: {
    50: '#b0c46e',
    500: '#8aab2b',
    950: '#000000',
  },
}
SCSS
$custom: #8aab2b;
$custom-light: #b0c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab2b",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 75.469,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.15409,
    "h": 123.3
  },
  "luminance": 0.34704
}

Semantic roles & 50–950 ramp

primary
#8AAB2B
secondary
#846EC4
accent
#45E36E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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