#8CB12E#8CB12E

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

Color values

HEX#8CB12E
RGBrgb(140, 177, 46)
HSLhsl(77, 59%, 44%)
HSVhsv(77, 74%, 69%)
CMYKcmyk(20.9%, 0%, 74%, 30.6%)
CIE-LABlab(67.44, -30.84, 58.91)
CIE-LCHlch(67.44, 66.50, 117.63°)
OKLaboklab(70.88% -0.0896 0.131)
OKLCHoklch(70.88% 0.159 124.4)
XYZxyz(27.0308, 37.2167, 8.3437)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB12E #532EB1
analogous
#B1942E #8CB12E #4AB12E
triadic
#8CB12E #2E8CB1 #B12E8C
tetradic
#8CB12E #2EB194 #532EB1 #B12E4A
square
#8CB12E #2EB194 #532EB1 #B12E4A
split-complementary
#8CB12E #2E4AB1 #942EB1
monochromatic
#3F5015 #668021 #8CB12E #ABD04C #C2DD7C

Accessibility & contrast

On white

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

On black

8.44
#8CB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB12E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB12E#FFFFFF#000000##000000
##8CB12E1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb12e;
/* rgb */ color: rgb(140, 177, 46);
/* oklch */ color: oklch(70.9% 0.159 124.4);
Tailwind
colors: {
  custom: {
    50: '#b1c870',
    500: '#8cb12e',
    950: '#000000',
  },
}
SCSS
$custom: #8cb12e;
$custom-light: #b1c870;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb12e",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 76.947,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70882,
    "c": 0.15874,
    "h": 124.4
  },
  "luminance": 0.37217
}

Semantic roles & 50–950 ramp

primary
#8CB12E
secondary
#8C75C6
accent
#46E272
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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