#8CB52F#8CB52F

#8CB52F is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 71.8% C 0.163 H 125.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8CB52F
RGBrgb(140, 181, 47)
HSLhsl(78, 59%, 45%)
HSVhsv(78, 74%, 71%)
CMYKcmyk(22.7%, 0%, 74%, 29%)
CIE-LABlab(68.63, -32.66, 59.71)
CIE-LCHlch(68.63, 68.06, 118.68°)
OKLaboklab(71.85% -0.0945 0.1329)
OKLCHoklch(71.85% 0.163 125.4)
XYZxyz(27.8524, 38.8281, 8.7160)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB52F #582FB5
analogous
#B59B2F #8CB52F #49B52F
triadic
#8CB52F #2F8CB5 #B52F8C
tetradic
#8CB52F #2FB59B #582FB5 #B52F49
square
#8CB52F #2FB59B #582FB5 #B52F49
split-complementary
#8CB52F #2F49B5 #9B2FB5
monochromatic
#415416 #668422 #8CB52F #AAD150 #C1DE80

Accessibility & contrast

On white

2.40
#8CB52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8CB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB52F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB52F#FFFFFF#000000##000000
##8CB52F1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA913
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb52f;
/* rgb */ color: rgb(140, 181, 47);
/* oklch */ color: oklch(71.8% 0.163 125.4);
Tailwind
colors: {
  custom: {
    50: '#b1cb71',
    500: '#8cb52f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb52f;
$custom-light: #b1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb52f",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 78.358,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71845,
    "c": 0.16307,
    "h": 125.4
  },
  "luminance": 0.38828
}

Semantic roles & 50–950 ramp

primary
#8CB52F
secondary
#9179C7
accent
#46E276
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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