#8BB242#8BB242

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

Color values

HEX#8BB242
RGBrgb(139, 178, 66)
HSLhsl(81, 46%, 48%)
HSVhsv(81, 63%, 70%)
CMYKcmyk(21.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(67.82, -30.37, 51.41)
CIE-LCHlch(67.82, 59.71, 120.57°)
OKLaboklab(71.22% -0.0865 0.1182)
OKLCHoklch(71.22% 0.146 126.2)
XYZxyz(27.5513, 37.7227, 10.9829)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB242 #6942B2
analogous
#B2A142 #8BB242 #53B242
triadic
#8BB242 #428BB2 #B2428B
tetradic
#8BB242 #42B2A1 #6942B2 #B24253
square
#8BB242 #42B2A1 #6942B2 #B24253
split-complementary
#8BB242 #4253B2 #A142B2
monochromatic
#455921 #688531 #8BB242 #A7C86A #C1D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BB242#FFFFFF#000000##000000
##8BB2421.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)
#BBA734
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#90AA9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8bb242;
/* rgb */ color: rgb(139, 178, 66);
/* oklch */ color: oklch(71.2% 0.146 126.2);
Tailwind
colors: {
  custom: {
    50: '#b0c97b',
    500: '#8bb242',
    950: '#000000',
  },
}
SCSS
$custom: #8bb242;
$custom-light: #b0c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb242",
  "rgb": {
    "r": 139,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 80.893,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71216,
    "c": 0.14646,
    "h": 126.2
  },
  "luminance": 0.37723
}

Semantic roles & 50–950 ramp

primary
#8BB242
secondary
#9F8CC4
accent
#52D680
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8BB242

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

Preview Lab → · Contrast checker → · Palette generator →

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