#8CA22D#8CA22D

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

Color values

HEX#8CA22D
RGBrgb(140, 162, 45)
HSLhsl(71, 57%, 41%)
HSVhsv(71, 72%, 64%)
CMYKcmyk(13.6%, 0%, 72.2%, 36.5%)
CIE-LABlab(63.02, -23.64, 54.96)
CIE-LCHlch(63.02, 59.83, 113.27°)
OKLaboklab(67.31% -0.0699 0.1226)
OKLCHoklch(67.31% 0.141 119.7)
XYZxyz(24.2097, 31.6057, 7.3072)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA22D #432DA2
analogous
#A27D2D #8CA22D #51A22D
triadic
#8CA22D #2D8CA2 #A22D8C
tetradic
#8CA22D #2DA27D #432DA2 #A22D51
square
#8CA22D #2DA27D #432DA2 #A22D51
split-complementary
#8CA22D #2D51A2 #7D2DA2
monochromatic
#394212 #637220 #8CA22D #B1CA42 #C5D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA22D#FFFFFF#000000##000000
##8CA22D1.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)
#AC9918
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca22d;
/* rgb */ color: rgb(140, 162, 45);
/* oklch */ color: oklch(67.3% 0.141 119.7);
Tailwind
colors: {
  custom: {
    50: '#b1bd6e',
    500: '#8ca22d',
    950: '#000000',
  },
}
SCSS
$custom: #8ca22d;
$custom-light: #b1bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca22d",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 71.282,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.14108,
    "h": 119.7
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

primary
#8CA22D
secondary
#7B6CBF
accent
#48E065
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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