#8CB12D#8CB12D

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

Color values

HEX#8CB12D
RGBrgb(140, 177, 45)
HSLhsl(77, 59%, 44%)
HSVhsv(77, 75%, 69%)
CMYKcmyk(20.9%, 0%, 74.6%, 30.6%)
CIE-LABlab(67.43, -30.90, 59.25)
CIE-LCHlch(67.43, 66.82, 117.54°)
OKLaboklab(70.88% -0.0899 0.1316)
OKLCHoklch(70.88% 0.159 124.3)
XYZxyz(27.0113, 37.2089, 8.2411)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB12D #522DB1
analogous
#B1942D #8CB12D #4AB12D
triadic
#8CB12D #2D8CB1 #B12D8C
tetradic
#8CB12D #2DB194 #522DB1 #B12D4A
square
#8CB12D #2DB194 #522DB1 #B12D4A
split-complementary
#8CB12D #2D4AB1 #942DB1
monochromatic
#3F4F14 #658021 #8CB12D #ABD14A #C2DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB12D#FFFFFF#000000##000000
##8CB12D1.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)
#BBA511
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#93A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb12d;
/* rgb */ color: rgb(140, 177, 45);
/* oklch */ color: oklch(70.9% 0.159 124.3);
Tailwind
colors: {
  custom: {
    50: '#b1c870',
    500: '#8cb12d',
    950: '#000000',
  },
}
SCSS
$custom: #8cb12d;
$custom-light: #b1c870;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb12d",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 76.818,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.15933,
    "h": 124.3
  },
  "luminance": 0.37209
}

Semantic roles & 50–950 ramp

primary
#8CB12D
secondary
#8B74C6
accent
#45E371
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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