#8CA42A#8CA42A

#8CA42A is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.8% C 0.145 H 120.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8CA42A
RGBrgb(140, 164, 42)
HSLhsl(72, 59%, 40%)
HSVhsv(72, 74%, 64%)
CMYKcmyk(14.6%, 0%, 74.4%, 35.7%)
CIE-LABlab(63.58, -24.79, 56.59)
CIE-LCHlch(63.58, 61.78, 113.66°)
OKLaboklab(67.76% -0.0733 0.1255)
OKLCHoklch(67.76% 0.145 120.3)
XYZxyz(24.5090, 32.2936, 7.1322)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA42A #422AA4
analogous
#A47F2A #8CA42A #4FA42A
triadic
#8CA42A #2A8CA4 #A42A8C
tetradic
#8CA42A #2AA47F #422AA4 #A42A4F
square
#8CA42A #2AA47F #422AA4 #A42A4F
split-complementary
#8CA42A #2A4FA4 #7F2AA4
monochromatic
#394311 #62731E #8CA42A #B1CD3E #C5DA6E

Accessibility & contrast

On white

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

On black

7.46
#8CA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA42A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA42A#FFFFFF#000000##000000
##8CA42A1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca42a;
/* rgb */ color: rgb(140, 164, 42);
/* oklch */ color: oklch(67.8% 0.145 120.3);
Tailwind
colors: {
  custom: {
    50: '#b1bf6d',
    500: '#8ca42a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca42a;
$custom-light: #b1bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca42a",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 71.803,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.14535,
    "h": 120.3
  },
  "luminance": 0.32294
}

Semantic roles & 50–950 ramp

primary
#8CA42A
secondary
#7A69C1
accent
#45E264
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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