#8CA22B#8CA22B

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

Color values

HEX#8CA22B
RGBrgb(140, 162, 43)
HSLhsl(71, 58%, 40%)
HSVhsv(71, 73%, 64%)
CMYKcmyk(13.6%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.00, -23.75, 55.68)
CIE-LCHlch(63.00, 60.53, 113.10°)
OKLaboklab(67.3% -0.0704 0.1237)
OKLCHoklch(67.3% 0.142 119.6)
XYZxyz(24.1721, 31.5907, 7.1092)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA22B #412BA2
analogous
#A27C2B #8CA22B #51A22B
triadic
#8CA22B #2B8CA2 #A22B8C
tetradic
#8CA22B #2BA27C #412BA2 #A22B51
square
#8CA22B #2BA27C #412BA2 #A22B51
split-complementary
#8CA22B #2B51A2 #7C2BA2
monochromatic
#384111 #62721E #8CA22B #B2CC3E #C5D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA22B#FFFFFF#000000##000000
##8CA22B1.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)
#AD9914
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca22b;
/* rgb */ color: rgb(140, 162, 43);
/* oklch */ color: oklch(67.3% 0.142 119.6);
Tailwind
colors: {
  custom: {
    50: '#b1bd6d',
    500: '#8ca22b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca22b;
$custom-light: #b1bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca22b",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 71.092,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.14235,
    "h": 119.6
  },
  "luminance": 0.31591
}

Semantic roles & 50–950 ramp

primary
#8CA22B
secondary
#7969C0
accent
#47E163
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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