#8CB221#8CB221

#8CB221 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.0% C 0.167 H 124.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8CB221
RGBrgb(140, 178, 33)
HSLhsl(76, 69%, 41%)
HSVhsv(76, 81%, 70%)
CMYKcmyk(21.3%, 0%, 81.5%, 30.2%)
CIE-LABlab(67.67, -31.92, 63.16)
CIE-LCHlch(67.67, 70.77, 116.81°)
OKLaboklab(71.05% -0.0935 0.1379)
OKLCHoklch(71.05% 0.167 124.2)
XYZxyz(27.0104, 37.5258, 7.2587)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB221 #4721B2
analogous
#B29021 #8CB221 #44B221
triadic
#8CB221 #218CB2 #B2218C
tetradic
#8CB221 #21B290 #4721B2 #B22144
square
#8CB221 #21B290 #4721B2 #B22144
split-complementary
#8CB221 #2144B2 #9021B2
monochromatic
#3B4B0E #637E17 #8CB221 #AFDA36 #C4E36A

Accessibility & contrast

On white

2.47
#8CB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8CB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB221
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB221#FFFFFF#000000##000000
##8CB2211.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#93A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb221;
/* rgb */ color: rgb(140, 178, 33);
/* oklch */ color: oklch(71.0% 0.167 124.2);
Tailwind
colors: {
  custom: {
    50: '#b2c96b',
    500: '#8cb221',
    950: '#000000',
  },
}
SCSS
$custom: #8cb221;
$custom-light: #b2c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb221",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 75.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71048,
    "c": 0.1666,
    "h": 124.2
  },
  "luminance": 0.37526
}

Semantic roles & 50–950 ramp

primary
#8CB221
secondary
#8066C9
accent
#3CEC6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB221

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

Preview Lab → · Contrast checker → · Palette generator →

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