#8BA42A#8BA42A

#8BA42A is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.7% C 0.146 H 120.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8BA42A
RGBrgb(139, 164, 42)
HSLhsl(72, 59%, 40%)
HSVhsv(72, 74%, 64%)
CMYKcmyk(15.2%, 0%, 74.4%, 35.7%)
CIE-LABlab(63.51, -25.21, 56.50)
CIE-LCHlch(63.51, 61.87, 114.05°)
OKLaboklab(67.69% -0.0744 0.1253)
OKLCHoklch(67.69% 0.146 120.7)
XYZxyz(24.3413, 32.2071, 7.1243)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA42A #432AA4
analogous
#A4802A #8BA42A #4EA42A
triadic
#8BA42A #2A8BA4 #A42A8B
tetradic
#8BA42A #2AA480 #432AA4 #A42A4E
square
#8BA42A #2AA480 #432AA4 #A42A4E
split-complementary
#8BA42A #2A4EA4 #802AA4
monochromatic
#384311 #62731E #8BA42A #B0CD3E #C4DA6E

Accessibility & contrast

On white

2.82
#8BA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8BA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA42A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA42A#FFFFFF#000000##000000
##8BA42A1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#939B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba42a;
/* rgb */ color: rgb(139, 164, 42);
/* oklch */ color: oklch(67.7% 0.146 120.7);
Tailwind
colors: {
  custom: {
    50: '#b0bf6d',
    500: '#8ba42a',
    950: '#000000',
  },
}
SCSS
$custom: #8ba42a;
$custom-light: #b0bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba42a",
  "rgb": {
    "r": 139,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 72.295,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67686,
    "c": 0.14576,
    "h": 120.7
  },
  "luminance": 0.32207
}

Semantic roles & 50–950 ramp

primary
#8BA42A
secondary
#7B69C1
accent
#45E266
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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