#8CB23A#8CB23A

#8CB23A is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.2% C 0.152 H 125.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8CB23A
RGBrgb(140, 178, 58)
HSLhsl(79, 51%, 46%)
HSVhsv(79, 67%, 70%)
CMYKcmyk(21.3%, 0%, 67.4%, 30.2%)
CIE-LABlab(67.81, -30.57, 54.77)
CIE-LCHlch(67.81, 62.73, 119.17°)
OKLaboklab(71.21% -0.0878 0.1242)
OKLCHoklch(71.21% 0.152 125.3)
XYZxyz(27.4995, 37.7214, 9.8343)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB23A #603AB2
analogous
#B29C3A #8CB23A #50B23A
triadic
#8CB23A #3A8CB2 #B23A8C
tetradic
#8CB23A #3AB29C #603AB2 #B23A50
square
#8CB23A #3AB29C #603AB2 #B23A50
split-complementary
#8CB23A #3A50B2 #9C3AB2
monochromatic
#43561C #68842B #8CB23A #A8CB5F #C1DA8D

Accessibility & contrast

On white

2.46
#8CB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8CB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB23A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB23A#FFFFFF#000000##000000
##8CB23A1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA729
Deuteranopia (green-blind)
#B6A544
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb23a;
/* rgb */ color: rgb(140, 178, 58);
/* oklch */ color: oklch(71.2% 0.152 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1c977',
    500: '#8cb23a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb23a;
$custom-light: #b1c977;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb23a",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 79,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.15211,
    "h": 125.3
  },
  "luminance": 0.37722
}

Semantic roles & 50–950 ramp

primary
#8CB23A
secondary
#9883C4
accent
#4DDA7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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