#8CB41B#8CB41B

#8CB41B 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#8CB41B
RGBrgb(140, 180, 27)
HSLhsl(76, 74%, 41%)
HSVhsv(76, 85%, 71%)
CMYKcmyk(22.2%, 0%, 85%, 29.4%)
CIE-LABlab(68.24, -33.06, 65.16)
CIE-LCHlch(68.24, 73.07, 116.90°)
OKLaboklab(71.5% -0.097 0.1412)
OKLCHoklch(71.5% 0.171 124.5)
XYZxyz(27.3346, 38.2968, 6.9886)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB41B #431BB4
analogous
#B48F1B #8CB41B #40B41B
triadic
#8CB41B #1B8CB4 #B41B8C
tetradic
#8CB41B #1BB48F #431BB4 #B41B40
square
#8CB41B #1BB48F #431BB4 #B41B40
split-complementary
#8CB41B #1B40B4 #8F1BB4
monochromatic
#394A0B #637F13 #8CB41B #B1DF2D #C5E762

Accessibility & contrast

On white

2.43
#8CB41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB41B#FFFFFF#000000##000000
##8CB41B1.002.438.668.66
#FFFFFF2.431.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: #8cb41b;
/* rgb */ color: rgb(140, 180, 27);
/* oklch */ color: oklch(71.5% 0.171 124.5);
Tailwind
colors: {
  custom: {
    50: '#b2ca69',
    500: '#8cb41b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb41b;
$custom-light: #b2ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb41b",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 75.686,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.1713,
    "h": 124.5
  },
  "luminance": 0.38297
}

Semantic roles & 50–950 ramp

primary
#8CB41B
secondary
#7B5FCC
accent
#37F168
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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