#8CB23B#8CB23B

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

Color values

HEX#8CB23B
RGBrgb(140, 178, 59)
HSLhsl(79, 50%, 46%)
HSVhsv(79, 67%, 70%)
CMYKcmyk(21.3%, 0%, 66.9%, 30.2%)
CIE-LABlab(67.82, -30.50, 54.38)
CIE-LCHlch(67.82, 62.35, 119.29°)
OKLaboklab(71.22% -0.0876 0.1235)
OKLCHoklch(71.22% 0.151 125.3)
XYZxyz(27.5252, 37.7317, 9.9696)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB23B #613BB2
analogous
#B29D3B #8CB23B #51B23B
triadic
#8CB23B #3B8CB2 #B23B8C
tetradic
#8CB23B #3BB29D #613BB2 #B23B51
square
#8CB23B #3BB29D #613BB2 #B23B51
split-complementary
#8CB23B #3B51B2 #9D3BB2
monochromatic
#44561D #68842C #8CB23B #A8CA60 #C1DA8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB23B#FFFFFF#000000##000000
##8CB23B1.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)
#BBA72A
Deuteranopia (green-blind)
#B6A544
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb23b;
/* rgb */ color: rgb(140, 178, 59);
/* oklch */ color: oklch(71.2% 0.151 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1c977',
    500: '#8cb23b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb23b;
$custom-light: #b1c977;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb23b",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 79.16,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7122,
    "c": 0.15138,
    "h": 125.3
  },
  "luminance": 0.37732
}

Semantic roles & 50–950 ramp

primary
#8CB23B
secondary
#9985C4
accent
#4EDA7B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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