#8CA822#8CA822

#8CA822 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.154 H 121.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8CA822
RGBrgb(140, 168, 34)
HSLhsl(73, 66%, 40%)
HSVhsv(73, 80%, 66%)
CMYKcmyk(16.7%, 0%, 79.8%, 34.1%)
CIE-LABlab(64.72, -27.12, 60.24)
CIE-LCHlch(64.72, 66.06, 114.24°)
OKLaboklab(68.66% -0.0804 0.1318)
OKLCHoklch(68.66% 0.154 121.4)
XYZxyz(25.1070, 33.6962, 6.6944)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA822 #3E22A8
analogous
#A88122 #8CA822 #49A822
triadic
#8CA822 #228CA8 #A8228C
tetradic
#8CA822 #22A881 #3E22A8 #A82249
square
#8CA822 #22A881 #3E22A8 #A82249
split-complementary
#8CA822 #2249A8 #8122A8
monochromatic
#37420D #627518 #8CA822 #B3D532 #C6E065

Accessibility & contrast

On white

2.71
#8CA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8CA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA822
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA822#FFFFFF#000000##000000
##8CA8221.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#949F90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca822;
/* rgb */ color: rgb(140, 168, 34);
/* oklch */ color: oklch(68.7% 0.154 121.4);
Tailwind
colors: {
  custom: {
    50: '#b1c16a',
    500: '#8ca822',
    950: '#000000',
  },
}
SCSS
$custom: #8ca822;
$custom-light: #b1c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca822",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 72.537,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68664,
    "c": 0.15438,
    "h": 121.4
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

primary
#8CA822
secondary
#7661C5
accent
#3FE962
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA822

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

Preview Lab → · Contrast checker → · Palette generator →

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