#8CB422#8CB422

#8CB422 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.5% C 0.169 H 124.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8CB422
RGBrgb(140, 180, 34)
HSLhsl(76, 68%, 42%)
HSVhsv(76, 81%, 71%)
CMYKcmyk(22.2%, 0%, 81.1%, 29.4%)
CIE-LABlab(68.27, -32.81, 63.42)
CIE-LCHlch(68.27, 71.41, 117.36°)
OKLaboklab(71.53% -0.0959 0.1386)
OKLCHoklch(71.53% 0.169 124.7)
XYZxyz(27.4255, 38.3331, 7.4672)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB422 #4A22B4
analogous
#B49322 #8CB422 #43B422
triadic
#8CB422 #228CB4 #B4228C
tetradic
#8CB422 #22B493 #4A22B4 #B42243
square
#8CB422 #22B493 #4A22B4 #B42243
split-complementary
#8CB422 #2243B4 #9322B4
monochromatic
#3C4D0F #648118 #8CB422 #AEDA3A #C3E36D

Accessibility & contrast

On white

2.42
#8CB422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8CB422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB422
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB422#FFFFFF#000000##000000
##8CB4221.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#93AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb422;
/* rgb */ color: rgb(140, 180, 34);
/* oklch */ color: oklch(71.5% 0.169 124.7);
Tailwind
colors: {
  custom: {
    50: '#b2ca6b',
    500: '#8cb422',
    950: '#000000',
  },
}
SCSS
$custom: #8cb422;
$custom-light: #b2ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb422",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 76.438,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.16852,
    "h": 124.7
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

primary
#8CB422
secondary
#8368CA
accent
#3DEB6C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB422

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

Preview Lab → · Contrast checker → · Palette generator →

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