#8CB41F#8CB41F

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

Color values

HEX#8CB41F
RGBrgb(140, 180, 31)
HSLhsl(76, 71%, 41%)
HSVhsv(76, 83%, 71%)
CMYKcmyk(22.2%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.25, -32.93, 64.20)
CIE-LCHlch(68.25, 72.15, 117.15°)
OKLaboklab(71.52% -0.0964 0.1398)
OKLCHoklch(71.52% 0.17 124.6)
XYZxyz(27.3841, 38.3166, 7.2492)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB41F #471FB4
analogous
#B4921F #8CB41F #42B41F
triadic
#8CB41F #1F8CB4 #B41F8C
tetradic
#8CB41F #1FB492 #471FB4 #B41F42
square
#8CB41F #1FB492 #471FB4 #B41F42
split-complementary
#8CB41F #1F42B4 #921FB4
monochromatic
#3B4C0D #638016 #8CB41F #AFDC34 #C4E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB41F#FFFFFF#000000##000000
##8CB41F1.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)
#BEA800
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#93AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb41f;
/* rgb */ color: rgb(140, 180, 31);
/* oklch */ color: oklch(71.5% 0.170 124.6);
Tailwind
colors: {
  custom: {
    50: '#b2ca6a',
    500: '#8cb41f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb41f;
$custom-light: #b2ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb41f",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 76.107,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71518,
    "c": 0.16978,
    "h": 124.6
  },
  "luminance": 0.38317
}

Semantic roles & 50–950 ramp

primary
#8CB41F
secondary
#8064CB
accent
#3AED6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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