#8FB42B#8FB42B

#8FB42B is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.8% C 0.163 H 124.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8FB42B
RGBrgb(143, 180, 43)
HSLhsl(76, 61%, 44%)
HSVhsv(76, 76%, 71%)
CMYKcmyk(20.6%, 0%, 76.1%, 29.4%)
CIE-LABlab(68.50, -31.20, 61.00)
CIE-LCHlch(68.50, 68.52, 117.09°)
OKLaboklab(71.79% -0.091 0.1349)
OKLCHoklch(71.79% 0.163 124)
XYZxyz(28.0853, 38.6563, 8.2668)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB42B #502BB4
analogous
#B4942B #8FB42B #4BB42B
triadic
#8FB42B #2B8FB4 #B42B8F
tetradic
#8FB42B #2BB494 #502BB4 #B42B4B
square
#8FB42B #2BB494 #502BB4 #B42B4B
split-complementary
#8FB42B #2B4BB4 #942BB4
monochromatic
#415113 #68831F #8FB42B #AED349 #C4DF7A

Accessibility & contrast

On white

2.41
#8FB42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8FB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB42B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB42B#FFFFFF#000000##000000
##8FB42B1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA808
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#96AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb42b;
/* rgb */ color: rgb(143, 180, 43);
/* oklch */ color: oklch(71.8% 0.163 124.0);
Tailwind
colors: {
  custom: {
    50: '#b4ca6f',
    500: '#8fb42b',
    950: '#000000',
  },
}
SCSS
$custom: #8fb42b;
$custom-light: #b4ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb42b",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 76.204,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71786,
    "c": 0.1627,
    "h": 124
  },
  "luminance": 0.38657
}

Semantic roles & 50–950 ramp

primary
#8FB42B
secondary
#8A73C7
accent
#43E56F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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