#8CA12A#8CA12A

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

Color values

HEX#8CA12A
RGBrgb(140, 161, 42)
HSLhsl(71, 59%, 40%)
HSVhsv(71, 74%, 63%)
CMYKcmyk(13%, 0%, 73.9%, 36.9%)
CIE-LABlab(62.70, -23.30, 55.75)
CIE-LCHlch(62.70, 60.42, 112.69°)
OKLaboklab(67.05% -0.0692 0.1237)
OKLCHoklch(67.05% 0.142 119.2)
XYZxyz(23.9785, 31.2325, 6.9553)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA12A #3F2AA1
analogous
#A17A2A #8CA12A #51A12A
triadic
#8CA12A #2A8CA1 #A12A8C
tetradic
#8CA12A #2AA17A #3F2AA1 #A12A51
square
#8CA12A #2AA17A #3F2AA1 #A12A51
split-complementary
#8CA12A #2A51A1 #7A2AA1
monochromatic
#384011 #62701D #8CA12A #B3CC3C #C6D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA12A#FFFFFF#000000##000000
##8CA12A1.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)
#AC9812
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#94988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca12a;
/* rgb */ color: rgb(140, 161, 42);
/* oklch */ color: oklch(67.1% 0.142 119.2);
Tailwind
colors: {
  custom: {
    50: '#b1bc6c',
    500: '#8ca12a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca12a;
$custom-light: #b1bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca12a",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 70.588,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.14176,
    "h": 119.2
  },
  "luminance": 0.31232
}

Semantic roles & 50–950 ramp

primary
#8CA12A
secondary
#7767C0
accent
#46E261
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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