#8CB02F#8CB02F

#8CB02F is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.157 H 124.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8CB02F
RGBrgb(140, 176, 47)
HSLhsl(77, 58%, 44%)
HSVhsv(77, 73%, 69%)
CMYKcmyk(20.5%, 0%, 73.3%, 31%)
CIE-LABlab(67.15, -30.32, 58.28)
CIE-LCHlch(67.15, 65.69, 117.48°)
OKLaboklab(70.65% -0.0881 0.1299)
OKLCHoklch(70.65% 0.157 124.2)
XYZxyz(26.8539, 36.8311, 8.3831)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB02F #532FB0
analogous
#B0932F #8CB02F #4BB02F
triadic
#8CB02F #2F8CB0 #B02F8C
tetradic
#8CB02F #2FB093 #532FB0 #B02F4B
square
#8CB02F #2FB093 #532FB0 #B02F4B
split-complementary
#8CB02F #2F4BB0 #932FB0
monochromatic
#3F4F15 #668022 #8CB02F #ABCF4D #C2DC7D

Accessibility & contrast

On white

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

On black

8.37
#8CB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB02F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB02F#FFFFFF#000000##000000
##8CB02F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb02f;
/* rgb */ color: rgb(140, 176, 47);
/* oklch */ color: oklch(70.7% 0.157 124.2);
Tailwind
colors: {
  custom: {
    50: '#b1c771',
    500: '#8cb02f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb02f;
$custom-light: #b1c771;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb02f",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 76.744,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.15692,
    "h": 124.2
  },
  "luminance": 0.36831
}

Semantic roles & 50–950 ramp

primary
#8CB02F
secondary
#8C76C5
accent
#47E172
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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