#8CA22A#8CA22A

#8CA22A is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.143 H 119.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8CA22A
RGBrgb(140, 162, 42)
HSLhsl(71, 59%, 40%)
HSVhsv(71, 74%, 64%)
CMYKcmyk(13.6%, 0%, 74.1%, 36.5%)
CIE-LABlab(63.00, -23.80, 56.03)
CIE-LCHlch(63.00, 60.87, 113.02°)
OKLaboklab(67.29% -0.0706 0.1243)
OKLCHoklch(67.29% 0.143 119.6)
XYZxyz(24.1539, 31.5834, 7.0138)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA22A #402AA2
analogous
#A27C2A #8CA22A #50A22A
triadic
#8CA22A #2A8CA2 #A22A8C
tetradic
#8CA22A #2AA27C #402AA2 #A22A50
square
#8CA22A #2AA27C #402AA2 #A22A50
split-complementary
#8CA22A #2A50A2 #7C2AA2
monochromatic
#384111 #62711D #8CA22A #B2CD3D #C5D96D

Accessibility & contrast

On white

2.87
#8CA22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8CA22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA22A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA22A#FFFFFF#000000##000000
##8CA22A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca22a;
/* rgb */ color: rgb(140, 162, 42);
/* oklch */ color: oklch(67.3% 0.143 119.6);
Tailwind
colors: {
  custom: {
    50: '#b1bd6c',
    500: '#8ca22a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca22a;
$custom-light: #b1bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca22a",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 71,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.14296,
    "h": 119.6
  },
  "luminance": 0.31583
}

Semantic roles & 50–950 ramp

primary
#8CA22A
secondary
#7868C0
accent
#46E262
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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