#8CB122#8CB122

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

Color values

HEX#8CB122
RGBrgb(140, 177, 34)
HSLhsl(76, 68%, 41%)
HSVhsv(76, 81%, 69%)
CMYKcmyk(20.9%, 0%, 80.8%, 30.6%)
CIE-LABlab(67.38, -31.41, 62.63)
CIE-LCHlch(67.38, 70.06, 116.64°)
OKLaboklab(70.81% -0.0921 0.1369)
OKLCHoklch(70.81% 0.165 123.9)
XYZxyz(26.8264, 37.1350, 7.2675)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB122 #4722B1
analogous
#B18F22 #8CB122 #45B122
triadic
#8CB122 #228CB1 #B1228C
tetradic
#8CB122 #22B18F #4722B1 #B12245
square
#8CB122 #22B18F #4722B1 #B12245
split-complementary
#8CB122 #2245B1 #8F22B1
monochromatic
#3B4A0E #637E18 #8CB122 #AFD938 #C4E36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8cb122;
/* rgb */ color: rgb(140, 177, 34);
/* oklch */ color: oklch(70.8% 0.165 123.9);
Tailwind
colors: {
  custom: {
    50: '#b2c86b',
    500: '#8cb122',
    950: '#000000',
  },
}
SCSS
$custom: #8cb122;
$custom-light: #b2c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb122",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 75.524,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70813,
    "c": 0.16498,
    "h": 123.9
  },
  "luminance": 0.37135
}

Semantic roles & 50–950 ramp

primary
#8CB122
secondary
#8066C9
accent
#3DEB6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB122

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

Preview Lab → · Contrast checker → · Palette generator →

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