#8CB421#8CB421

#8CB421 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#8CB421
RGBrgb(140, 180, 33)
HSLhsl(76, 69%, 42%)
HSVhsv(76, 82%, 71%)
CMYKcmyk(22.2%, 0%, 81.7%, 29.4%)
CIE-LABlab(68.26, -32.85, 63.69)
CIE-LCHlch(68.26, 71.66, 117.29°)
OKLaboklab(71.53% -0.0961 0.139)
OKLCHoklch(71.53% 0.169 124.7)
XYZxyz(27.4113, 38.3275, 7.3924)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB421 #4921B4
analogous
#B49321 #8CB421 #42B421
triadic
#8CB421 #218CB4 #B4218C
tetradic
#8CB421 #21B493 #4921B4 #B42142
square
#8CB421 #21B493 #4921B4 #B42142
split-complementary
#8CB421 #2142B4 #9321B4
monochromatic
#3C4D0E #648018 #8CB421 #AEDA38 #C3E46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB421#FFFFFF#000000##000000
##8CB4211.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)
#B9A631
Tritanopia (blue-blind)
#93AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb421;
/* rgb */ color: rgb(140, 180, 33);
/* oklch */ color: oklch(71.5% 0.169 124.7);
Tailwind
colors: {
  custom: {
    50: '#b2ca6b',
    500: '#8cb421',
    950: '#000000',
  },
}
SCSS
$custom: #8cb421;
$custom-light: #b2ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb421",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 76.327,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.16895,
    "h": 124.7
  },
  "luminance": 0.38328
}

Semantic roles & 50–950 ramp

primary
#8CB421
secondary
#8267CA
accent
#3CEC6C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB421

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

Preview Lab → · Contrast checker → · Palette generator →

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