#8CB322#8CB322

#8CB322 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.167 H 124.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8CB322
RGBrgb(140, 179, 34)
HSLhsl(76, 68%, 42%)
HSVhsv(76, 81%, 70%)
CMYKcmyk(21.8%, 0%, 81%, 29.8%)
CIE-LABlab(67.97, -32.35, 63.16)
CIE-LCHlch(67.97, 70.96, 117.12°)
OKLaboklab(71.29% -0.0946 0.138)
OKLCHoklch(71.29% 0.167 124.4)
XYZxyz(27.2244, 37.9309, 7.4002)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB322 #4922B3
analogous
#B39222 #8CB322 #44B322
triadic
#8CB322 #228CB3 #B3228C
tetradic
#8CB322 #22B392 #4922B3 #B32244
square
#8CB322 #22B392 #4922B3 #B32244
split-complementary
#8CB322 #2244B3 #9222B3
monochromatic
#3C4C0E #648018 #8CB322 #AED939 #C3E36C

Accessibility & contrast

On white

2.45
#8CB322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#8CB322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB322
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB322#FFFFFF#000000##000000
##8CB3221.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#93AA99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb322;
/* rgb */ color: rgb(140, 179, 34);
/* oklch */ color: oklch(71.3% 0.167 124.4);
Tailwind
colors: {
  custom: {
    50: '#b2c96b',
    500: '#8cb322',
    950: '#000000',
  },
}
SCSS
$custom: #8cb322;
$custom-light: #b2c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb322",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 76.138,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.16734,
    "h": 124.4
  },
  "luminance": 0.37931
}

Semantic roles & 50–950 ramp

primary
#8CB322
secondary
#8268C9
accent
#3DEB6C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB322

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

Preview Lab → · Contrast checker → · Palette generator →

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