#8A9F2A#8A9F2A

#8A9F2A is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.4% C 0.140 H 119.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A9F2A
RGBrgb(138, 159, 42)
HSLhsl(71, 58%, 39%)
HSVhsv(71, 74%, 62%)
CMYKcmyk(13.2%, 0%, 73.6%, 37.6%)
CIE-LABlab(61.97, -23.16, 54.99)
CIE-LCHlch(61.97, 59.66, 112.84°)
OKLaboklab(66.42% -0.0687 0.1222)
OKLCHoklch(66.42% 0.14 119.4)
XYZxyz(23.2977, 30.3669, 6.8241)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F2A #3F2A9F
analogous
#9F7A2A #8A9F2A #509F2A
triadic
#8A9F2A #2A8A9F #9F2A8A
tetradic
#8A9F2A #2A9F7A #3F2A9F #9F2A50
square
#8A9F2A #2A9F7A #3F2A9F #9F2A50
split-complementary
#8A9F2A #2A509F #7A2A9F
monochromatic
#363E10 #606F1D #8A9F2A #B1CB3B #C5D86B

Accessibility & contrast

On white

2.97
#8A9F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8A9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F2A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F2A#FFFFFF#000000##000000
##8A9F2A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99613
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#929688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f2a;
/* rgb */ color: rgb(138, 159, 42);
/* oklch */ color: oklch(66.4% 0.140 119.4);
Tailwind
colors: {
  custom: {
    50: '#afbb6c',
    500: '#8a9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f2a;
$custom-light: #afbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f2a",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 70.769,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.14017,
    "h": 119.4
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#8A9F2A
secondary
#7666BF
accent
#46E162
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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