#8AAA2F#8AAA2F

#8AAA2F is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 69.1% C 0.150 H 123.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8AAA2F
RGBrgb(138, 170, 47)
HSLhsl(76, 57%, 43%)
HSVhsv(76, 72%, 67%)
CMYKcmyk(18.8%, 0%, 72.4%, 33.3%)
CIE-LABlab(65.25, -28.27, 56.37)
CIE-LCHlch(65.25, 63.06, 116.63°)
OKLaboklab(69.08% -0.0824 0.1259)
OKLCHoklch(69.08% 0.15 123.2)
XYZxyz(25.3693, 34.3578, 7.9840)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA2F #4F2FAA
analogous
#AA8D2F #8AAA2F #4CAA2F
triadic
#8AAA2F #2F8AAA #AA2F8A
tetradic
#8AAA2F #2FAA8D #4F2FAA #AA2F4C
square
#8AAA2F #2FAA8D #4F2FAA #AA2F4C
split-complementary
#8AAA2F #2F4CAA #8D2FAA
monochromatic
#3C4A14 #637A22 #8AAA2F #ABCD49 #C1DA79

Accessibility & contrast

On white

2.67
#8AAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8AAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA2F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA2F#FFFFFF#000000##000000
##8AAA2F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F19
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#91A192
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8aaa2f;
/* rgb */ color: rgb(138, 170, 47);
/* oklch */ color: oklch(69.1% 0.150 123.2);
Tailwind
colors: {
  custom: {
    50: '#afc370',
    500: '#8aaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa2f;
$custom-light: #afc370;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa2f",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 75.61,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.15044,
    "h": 123.2
  },
  "luminance": 0.34358
}

Semantic roles & 50–950 ramp

primary
#8AAA2F
secondary
#8772C2
accent
#48E06F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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