#8CB52B#8CB52B

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

Color values

HEX#8CB52B
RGBrgb(140, 181, 43)
HSLhsl(78, 62%, 44%)
HSVhsv(78, 76%, 71%)
CMYKcmyk(22.7%, 0%, 76.2%, 29%)
CIE-LABlab(68.60, -32.87, 61.03)
CIE-LCHlch(68.60, 69.32, 118.31°)
OKLaboklab(71.82% -0.0954 0.135)
OKLCHoklch(71.82% 0.165 125.3)
XYZxyz(27.7754, 38.7973, 8.3103)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB52B #542BB5
analogous
#B5992B #8CB52B #47B52B
triadic
#8CB52B #2B8CB5 #B52B8C
tetradic
#8CB52B #2BB599 #542BB5 #B52B47
square
#8CB52B #2BB599 #542BB5 #B52B47
split-complementary
#8CB52B #2B47B5 #992BB5
monochromatic
#405214 #66841F #8CB52B #ABD449 #C2E07B

Accessibility & contrast

On white

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

On black

8.76
#8CB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB52B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB52B#FFFFFF#000000##000000
##8CB52B1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb52b;
/* rgb */ color: rgb(140, 181, 43);
/* oklch */ color: oklch(71.8% 0.165 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1cb6f',
    500: '#8cb52b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb52b;
$custom-light: #b1cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb52b",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 77.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7182,
    "c": 0.16531,
    "h": 125.3
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#8CB52B
secondary
#8D74C8
accent
#43E573
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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