#8CB52E#8CB52E

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

Color values

HEX#8CB52E
RGBrgb(140, 181, 46)
HSLhsl(78, 59%, 45%)
HSVhsv(78, 75%, 71%)
CMYKcmyk(22.7%, 0%, 74.6%, 29%)
CIE-LABlab(68.62, -32.72, 60.05)
CIE-LCHlch(68.62, 68.38, 118.58°)
OKLaboklab(71.84% -0.0948 0.1334)
OKLCHoklch(71.84% 0.164 125.4)
XYZxyz(27.8324, 38.8201, 8.6109)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB52E #572EB5
analogous
#B59A2E #8CB52E #49B52E
triadic
#8CB52E #2E8CB5 #B52E8C
tetradic
#8CB52E #2EB59A #572EB5 #B52E49
square
#8CB52E #2EB59A #572EB5 #B52E49
split-complementary
#8CB52E #2E49B5 #9A2EB5
monochromatic
#415315 #668422 #8CB52E #AAD24E #C1DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB52E#FFFFFF#000000##000000
##8CB52E1.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)
#BFA911
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb52e;
/* rgb */ color: rgb(140, 181, 46);
/* oklch */ color: oklch(71.8% 0.164 125.4);
Tailwind
colors: {
  custom: {
    50: '#b1cb71',
    500: '#8cb52e',
    950: '#000000',
  },
}
SCSS
$custom: #8cb52e;
$custom-light: #b1cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb52e",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 78.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.16365,
    "h": 125.4
  },
  "luminance": 0.3882
}

Semantic roles & 50–950 ramp

primary
#8CB52E
secondary
#9078C7
accent
#45E375
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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