#8CB02A#8CB02A

#8CB02A is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.6% C 0.160 H 123.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8CB02A
RGBrgb(140, 176, 42)
HSLhsl(76, 61%, 43%)
HSVhsv(76, 76%, 69%)
CMYKcmyk(20.5%, 0%, 76.1%, 31%)
CIE-LABlab(67.12, -30.58, 59.96)
CIE-LCHlch(67.12, 67.31, 117.02°)
OKLaboklab(70.62% -0.0892 0.1326)
OKLCHoklch(70.62% 0.16 123.9)
XYZxyz(26.7588, 36.7931, 7.8821)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB02A #4E2AB0
analogous
#B0912A #8CB02A #49B02A
triadic
#8CB02A #2A8CB0 #B02A8C
tetradic
#8CB02A #2AB091 #4E2AB0 #B02A49
square
#8CB02A #2AB091 #4E2AB0 #B02A49
split-complementary
#8CB02A #2A49B0 #912AB0
monochromatic
#3D4D12 #657F1E #8CB02A #ACD345 #C2DE76

Accessibility & contrast

On white

2.51
#8CB02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8CB02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB02A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB02A#FFFFFF#000000##000000
##8CB02A1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA408
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#93A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8cb02a;
/* rgb */ color: rgb(140, 176, 42);
/* oklch */ color: oklch(70.6% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#b1c76e',
    500: '#8cb02a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb02a;
$custom-light: #b1c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb02a",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 76.119,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.1598,
    "h": 123.9
  },
  "luminance": 0.36793
}

Semantic roles & 50–950 ramp

primary
#8CB02A
secondary
#8770C6
accent
#43E56F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB02A

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

Preview Lab → · Contrast checker → · Palette generator →

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