#8FB42A#8FB42A

#8FB42A is a light, vivid yellow-green. Relative luminance 0.386; 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#8FB42A
RGBrgb(143, 180, 42)
HSLhsl(76, 62%, 44%)
HSVhsv(76, 77%, 71%)
CMYKcmyk(20.6%, 0%, 76.7%, 29.4%)
CIE-LABlab(68.50, -31.25, 61.32)
CIE-LCHlch(68.50, 68.83, 117.00°)
OKLaboklab(71.78% -0.0912 0.1354)
OKLCHoklch(71.78% 0.163 124)
XYZxyz(28.0672, 38.6491, 8.1714)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB42A #4F2AB4
analogous
#B4942A #8FB42A #4AB42A
triadic
#8FB42A #2A8FB4 #B42A8F
tetradic
#8FB42A #2AB494 #4F2AB4 #B42A4A
square
#8FB42A #2AB494 #4F2AB4 #B42A4A
split-complementary
#8FB42A #2A4AB4 #942AB4
monochromatic
#405113 #68821E #8FB42A #AED447 #C4E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB42A#FFFFFF#000000##000000
##8FB42A1.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)
#BEA804
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#96AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb42a;
/* rgb */ color: rgb(143, 180, 42);
/* oklch */ color: oklch(71.8% 0.163 124.0);
Tailwind
colors: {
  custom: {
    50: '#b4ca6f',
    500: '#8fb42a',
    950: '#000000',
  },
}
SCSS
$custom: #8fb42a;
$custom-light: #b4ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb42a",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 76.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.16323,
    "h": 124
  },
  "luminance": 0.38649
}

Semantic roles & 50–950 ramp

primary
#8FB42A
secondary
#8972C8
accent
#43E56E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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