#8CA42C#8CA42C

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

Color values

HEX#8CA42C
RGBrgb(140, 164, 44)
HSLhsl(72, 58%, 41%)
HSVhsv(72, 73%, 64%)
CMYKcmyk(14.6%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.60, -24.68, 55.89)
CIE-LCHlch(63.60, 61.10, 113.83°)
OKLaboklab(67.77% -0.0729 0.1244)
OKLCHoklch(67.77% 0.144 120.4)
XYZxyz(24.5457, 32.3083, 7.3254)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA42C #442CA4
analogous
#A4802C #8CA42C #50A42C
triadic
#8CA42C #2C8CA4 #A42C8C
tetradic
#8CA42C #2CA480 #442CA4 #A42C50
square
#8CA42C #2CA480 #442CA4 #A42C50
split-complementary
#8CA42C #2C50A4 #802CA4
monochromatic
#3A4312 #63741F #8CA42C #B0CC41 #C4D971

Accessibility & contrast

On white

2.81
#8CA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA42C#FFFFFF#000000##000000
##8CA42C1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca42c;
/* rgb */ color: rgb(140, 164, 44);
/* oklch */ color: oklch(67.8% 0.144 120.4);
Tailwind
colors: {
  custom: {
    50: '#b1bf6e',
    500: '#8ca42c',
    950: '#000000',
  },
}
SCSS
$custom: #8ca42c;
$custom-light: #b1bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca42c",
  "rgb": {
    "r": 140,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 72,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.14413,
    "h": 120.4
  },
  "luminance": 0.32308
}

Semantic roles & 50–950 ramp

primary
#8CA42C
secondary
#7C6BC0
accent
#47E166
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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