#8BA42D#8BA42D

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

Color values

HEX#8BA42D
RGBrgb(139, 164, 45)
HSLhsl(73, 57%, 41%)
HSVhsv(73, 73%, 64%)
CMYKcmyk(15.2%, 0%, 72.6%, 35.7%)
CIE-LABlab(63.53, -25.05, 55.44)
CIE-LCHlch(63.53, 60.84, 114.31°)
OKLaboklab(67.71% -0.0737 0.1236)
OKLCHoklch(67.71% 0.144 120.8)
XYZxyz(24.3970, 32.2294, 7.4177)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA42D #462DA4
analogous
#A4812D #8BA42D #4FA42D
triadic
#8BA42D #2D8BA4 #A42D8B
tetradic
#8BA42D #2DA481 #462DA4 #A42D4F
square
#8BA42D #2DA481 #462DA4 #A42D4F
split-complementary
#8BA42D #2D4FA4 #812DA4
monochromatic
#3A4413 #627420 #8BA42D #AFCB43 #C3D973

Accessibility & contrast

On white

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

On black

7.45
#8BA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA42D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA42D#FFFFFF#000000##000000
##8BA42D1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba42d;
/* rgb */ color: rgb(139, 164, 45);
/* oklch */ color: oklch(67.7% 0.144 120.8);
Tailwind
colors: {
  custom: {
    50: '#b0bf6e',
    500: '#8ba42d',
    950: '#000000',
  },
}
SCSS
$custom: #8ba42d;
$custom-light: #b0bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba42d",
  "rgb": {
    "r": 139,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 72.605,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.14391,
    "h": 120.8
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#8BA42D
secondary
#7E6DC0
accent
#48E068
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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