#8A9E2E#8A9E2E

#8A9E2E is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.136 H 119.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A9E2E
RGBrgb(138, 158, 46)
HSLhsl(71, 55%, 40%)
HSVhsv(71, 71%, 62%)
CMYKcmyk(12.7%, 0%, 70.9%, 38%)
CIE-LABlab(61.70, -22.43, 53.23)
CIE-LCHlch(61.70, 57.76, 112.85°)
OKLaboklab(66.22% -0.0664 0.1191)
OKLCHoklch(66.22% 0.136 119.1)
XYZxyz(23.2017, 30.0544, 7.1630)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2E #422E9E
analogous
#9E7A2E #8A9E2E #529E2E
triadic
#8A9E2E #2E8A9E #9E2E8A
tetradic
#8A9E2E #2E9E7A #422E9E #9E2E52
square
#8A9E2E #2E9E7A #422E9E #9E2E52
split-complementary
#8A9E2E #2E529E #7A2E9E
monochromatic
#373F12 #616F20 #8A9E2E #B0C841 #C4D671

Accessibility & contrast

On white

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

On black

7.01
#8A9E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E2E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E2E#FFFFFF#000000##000000
##8A9E2E1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9e2e;
/* rgb */ color: rgb(138, 158, 46);
/* oklch */ color: oklch(66.2% 0.136 119.1);
Tailwind
colors: {
  custom: {
    50: '#afba6e',
    500: '#8a9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2e;
$custom-light: #afba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2e",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 70.714,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.13637,
    "h": 119.1
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

primary
#8A9E2E
secondary
#796BBD
accent
#4ADE64
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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