#8CB23C#8CB23C

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

Color values

HEX#8CB23C
RGBrgb(140, 178, 60)
HSLhsl(79, 50%, 47%)
HSVhsv(79, 66%, 70%)
CMYKcmyk(21.3%, 0%, 66.3%, 30.2%)
CIE-LABlab(67.83, -30.43, 53.98)
CIE-LCHlch(67.83, 61.96, 119.41°)
OKLaboklab(71.23% -0.0873 0.1228)
OKLCHoklch(71.23% 0.151 125.4)
XYZxyz(27.5514, 37.7422, 10.1075)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB23C #623CB2
analogous
#B29D3C #8CB23C #51B23C
triadic
#8CB23C #3C8CB2 #B23C8C
tetradic
#8CB23C #3CB29D #623CB2 #B23C51
square
#8CB23C #3CB29D #623CB2 #B23C51
split-complementary
#8CB23C #3C51B2 #9D3CB2
monochromatic
#44561D #68842D #8CB23C #A8CA61 #C1D98F

Accessibility & contrast

On white

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

On black

8.55
#8CB23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB23C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB23C#FFFFFF#000000##000000
##8CB23C1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8cb23c;
/* rgb */ color: rgb(140, 178, 60);
/* oklch */ color: oklch(71.2% 0.151 125.4);
Tailwind
colors: {
  custom: {
    50: '#b1c978',
    500: '#8cb23c',
    950: '#000000',
  },
}
SCSS
$custom: #8cb23c;
$custom-light: #b1c978;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb23c",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 79.322,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71229,
    "c": 0.15064,
    "h": 125.4
  },
  "luminance": 0.37742
}

Semantic roles & 50–950 ramp

primary
#8CB23C
secondary
#9A86C4
accent
#4FD97B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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