#8CB128#8CB128

#8CB128 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.8% C 0.162 H 124.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8CB128
RGBrgb(140, 177, 40)
HSLhsl(76, 63%, 43%)
HSVhsv(76, 77%, 69%)
CMYKcmyk(20.9%, 0%, 77.4%, 30.6%)
CIE-LABlab(67.41, -31.15, 60.87)
CIE-LCHlch(67.41, 68.38, 117.10°)
OKLaboklab(70.85% -0.0909 0.1342)
OKLCHoklch(70.85% 0.162 124.1)
XYZxyz(26.9207, 37.1727, 7.7638)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB128 #4D28B1
analogous
#B19128 #8CB128 #48B128
triadic
#8CB128 #288CB1 #B1288C
tetradic
#8CB128 #28B191 #4D28B1 #B12848
square
#8CB128 #28B191 #4D28B1 #B12848
split-complementary
#8CB128 #2848B1 #9128B1
monochromatic
#3D4D11 #657F1D #8CB128 #ADD442 #C2E074

Accessibility & contrast

On white

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

On black

8.43
#8CB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB128
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB128#FFFFFF#000000##000000
##8CB1281.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#93A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb128;
/* rgb */ color: rgb(140, 177, 40);
/* oklch */ color: oklch(70.8% 0.162 124.1);
Tailwind
colors: {
  custom: {
    50: '#b1c86d',
    500: '#8cb128',
    950: '#000000',
  },
}
SCSS
$custom: #8cb128;
$custom-light: #b1c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb128",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 76.204,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70845,
    "c": 0.16208,
    "h": 124.1
  },
  "luminance": 0.37173
}

Semantic roles & 50–950 ramp

primary
#8CB128
secondary
#866EC7
accent
#42E66E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB128

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

Preview Lab → · Contrast checker → · Palette generator →

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