#8A9E2A#8A9E2A

#8A9E2A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.2% C 0.139 H 119.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9E2A
RGBrgb(138, 158, 42)
HSLhsl(70, 58%, 39%)
HSVhsv(70, 73%, 62%)
CMYKcmyk(12.7%, 0%, 73.4%, 38%)
CIE-LABlab(61.68, -22.66, 54.70)
CIE-LCHlch(61.68, 59.21, 112.50°)
OKLaboklab(66.19% -0.0673 0.1216)
OKLCHoklch(66.19% 0.139 119)
XYZxyz(23.1265, 30.0243, 6.7670)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2A #3E2A9E
analogous
#9E782A #8A9E2A #509E2A
triadic
#8A9E2A #2A8A9E #9E2A8A
tetradic
#8A9E2A #2A9E78 #3E2A9E #9E2A50
square
#8A9E2A #2A9E78 #3E2A9E #9E2A50
split-complementary
#8A9E2A #2A509E #782A9E
monochromatic
#363D10 #606E1D #8A9E2A #B2CB3A #C5D86B

Accessibility & contrast

On white

3.00
#8A9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E2A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E2A#FFFFFF#000000##000000
##8A9E2A1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89514
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#929588
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e2a;
/* rgb */ color: rgb(138, 158, 42);
/* oklch */ color: oklch(66.2% 0.139 119.0);
Tailwind
colors: {
  custom: {
    50: '#afba6c',
    500: '#8a9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2a;
$custom-light: #afba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2a",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 70.345,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66187,
    "c": 0.13897,
    "h": 119
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

primary
#8A9E2A
secondary
#7566BE
accent
#47E161
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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