#8FB342#8FB342

#8FB342 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.7% C 0.146 H 125.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8FB342
RGBrgb(143, 179, 66)
HSLhsl(79, 46%, 48%)
HSVhsv(79, 63%, 70%)
CMYKcmyk(20.1%, 0%, 63.1%, 29.8%)
CIE-LABlab(68.37, -29.26, 52.08)
CIE-LCHlch(68.37, 59.74, 119.33°)
OKLaboklab(71.73% -0.0837 0.1196)
OKLCHoklch(71.73% 0.146 125)
XYZxyz(28.4313, 38.4729, 11.0813)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB342 #6642B3
analogous
#B39E42 #8FB342 #57B342
triadic
#8FB342 #428FB3 #B3428F
tetradic
#8FB342 #42B39E #6642B3 #B34257
square
#8FB342 #42B39E #6642B3 #B34257
split-complementary
#8FB342 #4257B3 #9E42B3
monochromatic
#485A21 #6B8632 #8FB342 #AAC86A #C4D997

Accessibility & contrast

On white

2.42
#8FB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#8FB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB342
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB342#FFFFFF#000000##000000
##8FB3421.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#95AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb342;
/* rgb */ color: rgb(143, 179, 66);
/* oklch */ color: oklch(71.7% 0.146 125.0);
Tailwind
colors: {
  custom: {
    50: '#b3c97b',
    500: '#8fb342',
    950: '#000000',
  },
}
SCSS
$custom: #8fb342;
$custom-light: #b3c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb342",
  "rgb": {
    "r": 143,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 79.115,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71729,
    "c": 0.14592,
    "h": 125
  },
  "luminance": 0.38473
}

Semantic roles & 50–950 ramp

primary
#8FB342
secondary
#9E8CC4
accent
#52D67C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB342

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

Preview Lab → · Contrast checker → · Palette generator →

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