#8CB02E#8CB02E

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

Color values

HEX#8CB02E
RGBrgb(140, 176, 46)
HSLhsl(77, 59%, 44%)
HSVhsv(77, 74%, 69%)
CMYKcmyk(20.5%, 0%, 73.9%, 31%)
CIE-LABlab(67.14, -30.37, 58.63)
CIE-LCHlch(67.14, 66.03, 117.39°)
OKLaboklab(70.64% -0.0883 0.1304)
OKLCHoklch(70.64% 0.158 124.1)
XYZxyz(26.8340, 36.8231, 8.2781)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB02E #522EB0
analogous
#B0932E #8CB02E #4BB02E
triadic
#8CB02E #2E8CB0 #B02E8C
tetradic
#8CB02E #2EB093 #522EB0 #B02E4B
square
#8CB02E #2EB093 #522EB0 #B02E4B
split-complementary
#8CB02E #2E4BB0 #932EB0
monochromatic
#3F4F15 #657F21 #8CB02E #ABD04B #C2DD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB02E#FFFFFF#000000##000000
##8CB02E1.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)
#BAA514
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#93A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8cb02e;
/* rgb */ color: rgb(140, 176, 46);
/* oklch */ color: oklch(70.6% 0.158 124.1);
Tailwind
colors: {
  custom: {
    50: '#b1c770',
    500: '#8cb02e',
    950: '#000000',
  },
}
SCSS
$custom: #8cb02e;
$custom-light: #b1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb02e",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 76.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70643,
    "c": 0.15752,
    "h": 124.1
  },
  "luminance": 0.36823
}

Semantic roles & 50–950 ramp

primary
#8CB02E
secondary
#8B75C5
accent
#46E271
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB02E

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

Preview Lab → · Contrast checker → · Palette generator →

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