#8CB127#8CB127

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

Color values

HEX#8CB127
RGBrgb(140, 177, 39)
HSLhsl(76, 64%, 42%)
HSVhsv(76, 78%, 69%)
CMYKcmyk(20.9%, 0%, 78%, 30.6%)
CIE-LABlab(67.40, -31.20, 61.18)
CIE-LCHlch(67.40, 68.67, 117.02°)
OKLaboklab(70.84% -0.0911 0.1346)
OKLCHoklch(70.84% 0.163 124.1)
XYZxyz(26.9039, 37.1660, 7.6754)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB127 #4C27B1
analogous
#B19127 #8CB127 #47B127
triadic
#8CB127 #278CB1 #B1278C
tetradic
#8CB127 #27B191 #4C27B1 #B12747
square
#8CB127 #27B191 #4C27B1 #B12747
split-complementary
#8CB127 #2747B1 #9127B1
monochromatic
#3D4D11 #647F1C #8CB127 #ADD540 #C3E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB127#FFFFFF#000000##000000
##8CB1271.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)
#B6A435
Tritanopia (blue-blind)
#93A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb127;
/* rgb */ color: rgb(140, 177, 39);
/* oklch */ color: oklch(70.8% 0.163 124.1);
Tailwind
colors: {
  custom: {
    50: '#b1c86d',
    500: '#8cb127',
    950: '#000000',
  },
}
SCSS
$custom: #8cb127;
$custom-light: #b1c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb127",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 76.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70839,
    "c": 0.16259,
    "h": 124.1
  },
  "luminance": 0.37166
}

Semantic roles & 50–950 ramp

primary
#8CB127
secondary
#856DC7
accent
#41E76D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB127

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

Preview Lab → · Contrast checker → · Palette generator →

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