#8CA12C#8CA12C

#8CA12C is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.1% C 0.141 H 119.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8CA12C
RGBrgb(140, 161, 44)
HSLhsl(71, 57%, 40%)
HSVhsv(71, 73%, 63%)
CMYKcmyk(13%, 0%, 72.7%, 36.9%)
CIE-LABlab(62.72, -23.20, 55.03)
CIE-LCHlch(62.72, 59.72, 112.85°)
OKLaboklab(67.07% -0.0688 0.1225)
OKLCHoklch(67.07% 0.141 119.3)
XYZxyz(24.0152, 31.2472, 7.1486)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA12C #412CA1
analogous
#A17B2C #8CA12C #52A12C
triadic
#8CA12C #2C8CA1 #A12C8C
tetradic
#8CA12C #2CA17B #412CA1 #A12C52
square
#8CA12C #2CA17B #412CA1 #A12C52
split-complementary
#8CA12C #2C52A1 #7B2CA1
monochromatic
#384112 #62711F #8CA12C #B2CB40 #C5D870

Accessibility & contrast

On white

2.90
#8CA12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8CA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA12C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA12C#FFFFFF#000000##000000
##8CA12C1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9817
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#94988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca12c;
/* rgb */ color: rgb(140, 161, 44);
/* oklch */ color: oklch(67.1% 0.141 119.3);
Tailwind
colors: {
  custom: {
    50: '#b1bc6d',
    500: '#8ca12c',
    950: '#000000',
  },
}
SCSS
$custom: #8ca12c;
$custom-light: #b1bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca12c",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 70.769,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67065,
    "c": 0.14052,
    "h": 119.3
  },
  "luminance": 0.31247
}

Semantic roles & 50–950 ramp

primary
#8CA12C
secondary
#796ABF
accent
#47E063
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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