#8CB41C#8CB41C

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

Color values

HEX#8CB41C
RGBrgb(140, 180, 28)
HSLhsl(76, 73%, 41%)
HSVhsv(76, 84%, 71%)
CMYKcmyk(22.2%, 0%, 84.4%, 29.4%)
CIE-LABlab(68.24, -33.03, 64.93)
CIE-LCHlch(68.24, 72.85, 116.96°)
OKLaboklab(71.51% -0.0968 0.1409)
OKLCHoklch(71.51% 0.171 124.5)
XYZxyz(27.3464, 38.3015, 7.0506)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB41C #441CB4
analogous
#B4901C #8CB41C #40B41C
triadic
#8CB41C #1C8CB4 #B41C8C
tetradic
#8CB41C #1CB490 #441CB4 #B41C40
square
#8CB41C #1CB490 #441CB4 #B41C40
split-complementary
#8CB41C #1C40B4 #901CB4
monochromatic
#3A4A0C #637F14 #8CB41C #B0DF2F #C4E764

Accessibility & contrast

On white

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

On black

8.66
#8CB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB41C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB41C#FFFFFF#000000##000000
##8CB41C1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#B9A62E
Tritanopia (blue-blind)
#93AB99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb41c;
/* rgb */ color: rgb(140, 180, 28);
/* oklch */ color: oklch(71.5% 0.171 124.5);
Tailwind
colors: {
  custom: {
    50: '#b2ca69',
    500: '#8cb41c',
    950: '#000000',
  },
}
SCSS
$custom: #8cb41c;
$custom-light: #b2ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb41c",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 75.789,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.17093,
    "h": 124.5
  },
  "luminance": 0.38302
}

Semantic roles & 50–950 ramp

primary
#8CB41C
secondary
#7C60CC
accent
#38F068
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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