#8CB12F#8CB12F

#8CB12F is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.9% C 0.158 H 124.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8CB12F
RGBrgb(140, 177, 47)
HSLhsl(77, 58%, 44%)
HSVhsv(77, 73%, 69%)
CMYKcmyk(20.9%, 0%, 73.4%, 30.6%)
CIE-LABlab(67.45, -30.79, 58.57)
CIE-LCHlch(67.45, 66.17, 117.73°)
OKLaboklab(70.89% -0.0894 0.1305)
OKLCHoklch(70.89% 0.158 124.4)
XYZxyz(27.0507, 37.2247, 8.4487)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB12F #542FB1
analogous
#B1952F #8CB12F #4BB12F
triadic
#8CB12F #2F8CB1 #B12F8C
tetradic
#8CB12F #2FB195 #542FB1 #B12F4B
square
#8CB12F #2FB195 #542FB1 #B12F4B
split-complementary
#8CB12F #2F4BB1 #952FB1
monochromatic
#405015 #668122 #8CB12F #ABD04D #C2DD7E

Accessibility & contrast

On white

2.49
#8CB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8CB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB12F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB12F#FFFFFF#000000##000000
##8CB12F1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#93A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb12f;
/* rgb */ color: rgb(140, 177, 47);
/* oklch */ color: oklch(70.9% 0.158 124.4);
Tailwind
colors: {
  custom: {
    50: '#b1c871',
    500: '#8cb12f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb12f;
$custom-light: #b1c871;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb12f",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 77.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70889,
    "c": 0.15815,
    "h": 124.4
  },
  "luminance": 0.37225
}

Semantic roles & 50–950 ramp

primary
#8CB12F
secondary
#8D76C5
accent
#47E173
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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