#8BA42C#8BA42C

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

Color values

HEX#8BA42C
RGBrgb(139, 164, 44)
HSLhsl(73, 58%, 41%)
HSVhsv(73, 73%, 64%)
CMYKcmyk(15.2%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.53, -25.10, 55.80)
CIE-LCHlch(63.53, 61.19, 114.22°)
OKLaboklab(67.7% -0.074 0.1242)
OKLCHoklch(67.7% 0.145 120.8)
XYZxyz(24.3780, 32.2218, 7.3175)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA42C #452CA4
analogous
#A4812C #8BA42C #4FA42C
triadic
#8BA42C #2C8BA4 #A42C8B
tetradic
#8BA42C #2CA481 #452CA4 #A42C4F
square
#8BA42C #2CA481 #452CA4 #A42C4F
split-complementary
#8BA42C #2C4FA4 #812CA4
monochromatic
#394312 #62741F #8BA42C #AFCC41 #C3D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA42C#FFFFFF#000000##000000
##8BA42C1.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)
#AE9A15
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#939B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba42c;
/* rgb */ color: rgb(139, 164, 44);
/* oklch */ color: oklch(67.7% 0.145 120.8);
Tailwind
colors: {
  custom: {
    50: '#b0bf6e',
    500: '#8ba42c',
    950: '#000000',
  },
}
SCSS
$custom: #8ba42c;
$custom-light: #b0bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba42c",
  "rgb": {
    "r": 139,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 72.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.677,
    "c": 0.14454,
    "h": 120.8
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#8BA42C
secondary
#7D6BC0
accent
#47E167
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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