#8CA12D#8CA12D

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

Color values

HEX#8CA12D
RGBrgb(140, 161, 45)
HSLhsl(71, 56%, 40%)
HSVhsv(71, 72%, 63%)
CMYKcmyk(13%, 0%, 72%, 36.9%)
CIE-LABlab(62.72, -23.14, 54.67)
CIE-LCHlch(62.72, 59.36, 112.94°)
OKLaboklab(67.07% -0.0685 0.1219)
OKLCHoklch(67.07% 0.14 119.3)
XYZxyz(24.0342, 31.2548, 7.2488)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA12D #422DA1
analogous
#A17C2D #8CA12D #52A12D
triadic
#8CA12D #2D8CA1 #A12D8C
tetradic
#8CA12D #2DA17C #422DA1 #A12D52
square
#8CA12D #2DA17C #422DA1 #A12D52
split-complementary
#8CA12D #2D52A1 #7C2DA1
monochromatic
#394112 #627120 #8CA12D #B1CA41 #C5D771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA12D#FFFFFF#000000##000000
##8CA12D1.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)
#AB9819
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#94988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca12d;
/* rgb */ color: rgb(140, 161, 45);
/* oklch */ color: oklch(67.1% 0.140 119.3);
Tailwind
colors: {
  custom: {
    50: '#b1bc6e',
    500: '#8ca12d',
    950: '#000000',
  },
}
SCSS
$custom: #8ca12d;
$custom-light: #b1bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca12d",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 70.862,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.13987,
    "h": 119.3
  },
  "luminance": 0.31255
}

Semantic roles & 50–950 ramp

primary
#8CA12D
secondary
#7A6BBF
accent
#48E064
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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