#8CA221#8CA221

#8CA221 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.148 H 119.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8CA221
RGBrgb(140, 162, 33)
HSLhsl(70, 66%, 38%)
HSVhsv(70, 80%, 64%)
CMYKcmyk(13.6%, 0%, 79.6%, 36.5%)
CIE-LABlab(62.95, -24.22, 58.93)
CIE-LCHlch(62.95, 63.72, 112.34°)
OKLaboklab(67.23% -0.0725 0.1289)
OKLCHoklch(67.23% 0.148 119.4)
XYZxyz(24.0106, 31.5261, 6.2588)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA221 #3721A2
analogous
#A27821 #8CA221 #4BA221
triadic
#8CA221 #218CA2 #A2218C
tetradic
#8CA221 #21A278 #3721A2 #A2214B
square
#8CA221 #21A278 #3721A2 #A2214B
split-complementary
#8CA221 #214BA2 #7821A2
monochromatic
#343C0C #606F17 #8CA221 #B7D42C #C9DE5F

Accessibility & contrast

On white

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

On black

7.31
#8CA221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA221
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA221#FFFFFF#000000##000000
##8CA2211.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#95998A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca221;
/* rgb */ color: rgb(140, 162, 33);
/* oklch */ color: oklch(67.2% 0.148 119.4);
Tailwind
colors: {
  custom: {
    50: '#b1bd68',
    500: '#8ca221',
    950: '#000000',
  },
}
SCSS
$custom: #8ca221;
$custom-light: #b1bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca221",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 70.233,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67234,
    "c": 0.14787,
    "h": 119.4
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#8CA221
secondary
#6D5CC3
accent
#3FE95C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA221

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

Preview Lab → · Contrast checker → · Palette generator →

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