#8CB42B#8CB42B

#8CB42B is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.6% C 0.164 H 125.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CB42B
RGBrgb(140, 180, 43)
HSLhsl(78, 61%, 44%)
HSVhsv(78, 76%, 71%)
CMYKcmyk(22.2%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.31, -32.41, 60.75)
CIE-LCHlch(68.31, 68.86, 118.08°)
OKLaboklab(71.58% -0.0941 0.1344)
OKLCHoklch(71.58% 0.164 125)
XYZxyz(27.5728, 38.3921, 8.2428)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB42B #532BB4
analogous
#B4972B #8CB42B #47B42B
triadic
#8CB42B #2B8CB4 #B42B8C
tetradic
#8CB42B #2BB497 #532BB4 #B42B47
square
#8CB42B #2BB497 #532BB4 #B42B47
split-complementary
#8CB42B #2B47B4 #972BB4
monochromatic
#3F5113 #66831F #8CB42B #ABD349 #C2DF7A

Accessibility & contrast

On white

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

On black

8.68
#8CB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB42B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB42B#FFFFFF#000000##000000
##8CB42B1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#93AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb42b;
/* rgb */ color: rgb(140, 180, 43);
/* oklch */ color: oklch(71.6% 0.164 125.0);
Tailwind
colors: {
  custom: {
    50: '#b1ca6f',
    500: '#8cb42b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb42b;
$custom-light: #b1ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb42b",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 77.518,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.1641,
    "h": 125
  },
  "luminance": 0.38392
}

Semantic roles & 50–950 ramp

primary
#8CB42B
secondary
#8C73C7
accent
#43E572
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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