#8CB12A#8CB12A

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

Color values

HEX#8CB12A
RGBrgb(140, 177, 42)
HSLhsl(76, 62%, 43%)
HSVhsv(76, 76%, 69%)
CMYKcmyk(20.9%, 0%, 76.3%, 30.6%)
CIE-LABlab(67.42, -31.05, 60.24)
CIE-LCHlch(67.42, 67.77, 117.27°)
OKLaboklab(70.86% -0.0905 0.1332)
OKLCHoklch(70.86% 0.161 124.2)
XYZxyz(26.9556, 37.1866, 7.9477)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB12A #4F2AB1
analogous
#B1922A #8CB12A #49B12A
triadic
#8CB12A #2A8CB1 #B12A8C
tetradic
#8CB12A #2AB192 #4F2AB1 #B12A49
square
#8CB12A #2AB192 #4F2AB1 #B12A49
split-complementary
#8CB12A #2A49B1 #922AB1
monochromatic
#3E4E13 #65801E #8CB12A #ACD345 #C2DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB12A#FFFFFF#000000##000000
##8CB12A1.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)
#BBA507
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#93A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb12a;
/* rgb */ color: rgb(140, 177, 42);
/* oklch */ color: oklch(70.9% 0.161 124.2);
Tailwind
colors: {
  custom: {
    50: '#b1c86e',
    500: '#8cb12a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb12a;
$custom-light: #b1c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb12a",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 76.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.16101,
    "h": 124.2
  },
  "luminance": 0.37187
}

Semantic roles & 50–950 ramp

primary
#8CB12A
secondary
#8870C6
accent
#43E56F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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