#8CA22F#8CA22F

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

Color values

HEX#8CA22F
RGBrgb(140, 162, 47)
HSLhsl(71, 55%, 41%)
HSVhsv(71, 71%, 64%)
CMYKcmyk(13.6%, 0%, 71%, 36.5%)
CIE-LABlab(63.03, -23.52, 54.22)
CIE-LCHlch(63.03, 59.10, 113.45°)
OKLaboklab(67.32% -0.0694 0.1213)
OKLCHoklch(67.32% 0.14 119.8)
XYZxyz(24.2491, 31.6215, 7.5149)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA22F #452FA2
analogous
#A27E2F #8CA22F #52A22F
triadic
#8CA22F #2F8CA2 #A22F8C
tetradic
#8CA22F #2FA27E #452FA2 #A22F52
square
#8CA22F #2FA27E #452FA2 #A22F52
split-complementary
#8CA22F #2F52A2 #7E2FA2
monochromatic
#3A4313 #637321 #8CA22F #B0C945 #C4D775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA22F#FFFFFF#000000##000000
##8CA22F1.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)
#AC991C
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#94998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca22f;
/* rgb */ color: rgb(140, 162, 47);
/* oklch */ color: oklch(67.3% 0.140 119.8);
Tailwind
colors: {
  custom: {
    50: '#b1bd6f',
    500: '#8ca22f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca22f;
$custom-light: #b1bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca22f",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 71.478,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67323,
    "c": 0.13977,
    "h": 119.8
  },
  "luminance": 0.31621
}

Semantic roles & 50–950 ramp

primary
#8CA22F
secondary
#7E6EBF
accent
#49DE66
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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