#8AAA2A#8AAA2A

#8AAA2A is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.0% C 0.153 H 123.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8AAA2A
RGBrgb(138, 170, 42)
HSLhsl(75, 60%, 42%)
HSVhsv(75, 75%, 67%)
CMYKcmyk(18.8%, 0%, 75.3%, 33.3%)
CIE-LABlab(65.22, -28.54, 58.10)
CIE-LCHlch(65.22, 64.74, 116.16°)
OKLaboklab(69.04% -0.0835 0.1287)
OKLCHoklch(69.04% 0.153 123)
XYZxyz(25.2742, 34.3198, 7.4829)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA2A #4A2AAA
analogous
#AA8A2A #8AAA2A #4AAA2A
triadic
#8AAA2A #2A8AAA #AA2A8A
tetradic
#8AAA2A #2AAA8A #4A2AAA #AA2A4A
square
#8AAA2A #2AAA8A #4A2AAA #AA2A4A
split-complementary
#8AAA2A #2A4AAA #8A2AAA
monochromatic
#3A4812 #62791E #8AAA2A #ACD041 #C2DC72

Accessibility & contrast

On white

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

On black

7.86
#8AAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA2A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA2A#FFFFFF#000000##000000
##8AAA2A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaa2a;
/* rgb */ color: rgb(138, 170, 42);
/* oklch */ color: oklch(69.0% 0.153 123.0);
Tailwind
colors: {
  custom: {
    50: '#b0c36d',
    500: '#8aaa2a',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa2a;
$custom-light: #b0c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa2a",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 75,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69042,
    "c": 0.15345,
    "h": 123
  },
  "luminance": 0.3432
}

Semantic roles & 50–950 ramp

primary
#8AAA2A
secondary
#826CC3
accent
#44E46C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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