#8A9C3A#8A9C3A

#8A9C3A is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.8% C 0.125 H 118.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A9C3A
RGBrgb(138, 156, 58)
HSLhsl(71, 46%, 42%)
HSVhsv(71, 63%, 61%)
CMYKcmyk(11.5%, 0%, 62.8%, 38.8%)
CIE-LABlab(61.21, -20.61, 47.72)
CIE-LCHlch(61.21, 51.99, 113.36°)
OKLaboklab(65.85% -0.0601 0.1094)
OKLCHoklch(65.85% 0.125 118.8)
XYZxyz(23.1338, 29.4859, 8.4748)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C3A #4C3A9C
analogous
#9C7D3A #8A9C3A #599C3A
triadic
#8A9C3A #3A8A9C #9C3A8A
tetradic
#8A9C3A #3A9C7D #4C3A9C #9C3A59
square
#8A9C3A #3A9C7D #4C3A9C #9C3A59
split-complementary
#8A9C3A #3A599C #7D3A9C
monochromatic
#3B4319 #636F29 #8A9C3A #ACBF54 #C1D080

Accessibility & contrast

On white

3.04
#8A9C3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8A9C3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C3A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C3A#FFFFFF#000000##000000
##8A9C3A1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942E
Deuteranopia (green-blind)
#A49441
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9c3a;
/* rgb */ color: rgb(138, 156, 58);
/* oklch */ color: oklch(65.8% 0.125 118.8);
Tailwind
colors: {
  custom: {
    50: '#afb975',
    500: '#8a9c3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c3a;
$custom-light: #afb975;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c3a",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 58
  },
  "hsl": {
    "h": 71.02,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65849,
    "c": 0.12478,
    "h": 118.8
  },
  "luminance": 0.29486
}

Semantic roles & 50–950 ramp

primary
#8A9C3A
secondary
#8478BA
accent
#52D56A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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