#8CB120#8CB120

#8CB120 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.166 H 123.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8CB120
RGBrgb(140, 177, 32)
HSLhsl(75, 69%, 41%)
HSVhsv(75, 82%, 69%)
CMYKcmyk(20.9%, 0%, 81.9%, 30.6%)
CIE-LABlab(67.37, -31.49, 63.17)
CIE-LCHlch(67.37, 70.58, 116.50°)
OKLaboklab(70.8% -0.0924 0.1377)
OKLCHoklch(70.8% 0.166 123.9)
XYZxyz(26.7984, 37.1238, 7.1200)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB120 #4520B1
analogous
#B18D20 #8CB120 #44B120
triadic
#8CB120 #208CB1 #B1208C
tetradic
#8CB120 #20B18D #4520B1 #B12044
square
#8CB120 #20B18D #4520B1 #B12044
split-complementary
#8CB120 #2044B1 #8D20B1
monochromatic
#3A490D #637D17 #8CB120 #B0DA34 #C4E468

Accessibility & contrast

On white

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

On black

8.42
#8CB120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB120
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB120#FFFFFF#000000##000000
##8CB1201.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb120;
/* rgb */ color: rgb(140, 177, 32);
/* oklch */ color: oklch(70.8% 0.166 123.9);
Tailwind
colors: {
  custom: {
    50: '#b2c86a',
    500: '#8cb120',
    950: '#000000',
  },
}
SCSS
$custom: #8cb120;
$custom-light: #b2c86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb120",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 32
  },
  "hsl": {
    "h": 75.31,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.16585,
    "h": 123.9
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#8CB120
secondary
#7E64C9
accent
#3CEC69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB120

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

Preview Lab → · Contrast checker → · Palette generator →

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