#8CB226#8CB226

#8CB226 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.164 H 124.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8CB226
RGBrgb(140, 178, 38)
HSLhsl(76, 65%, 42%)
HSVhsv(76, 79%, 70%)
CMYKcmyk(21.3%, 0%, 78.7%, 30.2%)
CIE-LABlab(67.69, -31.71, 61.75)
CIE-LCHlch(67.69, 69.42, 117.18°)
OKLaboklab(71.07% -0.0926 0.1357)
OKLCHoklch(71.07% 0.164 124.3)
XYZxyz(27.0858, 37.5559, 7.6554)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB226 #4C26B2
analogous
#B29226 #8CB226 #46B226
triadic
#8CB226 #268CB2 #B2268C
tetradic
#8CB226 #26B292 #4C26B2 #B22646
square
#8CB226 #26B292 #4C26B2 #B22646
split-complementary
#8CB226 #2646B2 #9226B2
monochromatic
#3D4D10 #64801B #8CB226 #ADD63F #C3E172

Accessibility & contrast

On white

2.47
#8CB226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8CB226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB226
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB226#FFFFFF#000000##000000
##8CB2261.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A534
Tritanopia (blue-blind)
#93A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb226;
/* rgb */ color: rgb(140, 178, 38);
/* oklch */ color: oklch(71.1% 0.164 124.3);
Tailwind
colors: {
  custom: {
    50: '#b2c96d',
    500: '#8cb226',
    950: '#000000',
  },
}
SCSS
$custom: #8cb226;
$custom-light: #b2c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb226",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 76.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.16429,
    "h": 124.3
  },
  "luminance": 0.37556
}

Semantic roles & 50–950 ramp

primary
#8CB226
secondary
#856CC8
accent
#40E86E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB226

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

Preview Lab → · Contrast checker → · Palette generator →

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