#8FB12A#8FB12A

#8FB12A is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.160 H 123.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8FB12A
RGBrgb(143, 177, 42)
HSLhsl(75, 62%, 43%)
HSVhsv(75, 76%, 69%)
CMYKcmyk(19.2%, 0%, 76.3%, 30.6%)
CIE-LABlab(67.61, -29.83, 60.49)
CIE-LCHlch(67.61, 67.45, 116.25°)
OKLaboklab(71.07% -0.0874 0.1336)
OKLCHoklch(71.07% 0.16 123.2)
XYZxyz(27.4681, 37.4509, 7.9717)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB12A #4C2AB1
analogous
#B18F2A #8FB12A #4BB12A
triadic
#8FB12A #2A8FB1 #B12A8F
tetradic
#8FB12A #2AB18F #4C2AB1 #B12A4B
square
#8FB12A #2AB18F #4C2AB1 #B12A4B
split-complementary
#8FB12A #2A4BB1 #8F2AB1
monochromatic
#3F4E13 #67801E #8FB12A #AFD345 #C4DF77

Accessibility & contrast

On white

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

On black

8.49
#8FB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB12A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB12A#FFFFFF#000000##000000
##8FB12A1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA607
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#96A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb12a;
/* rgb */ color: rgb(143, 177, 42);
/* oklch */ color: oklch(71.1% 0.160 123.2);
Tailwind
colors: {
  custom: {
    50: '#b3c86e',
    500: '#8fb12a',
    950: '#000000',
  },
}
SCSS
$custom: #8fb12a;
$custom-light: #b3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb12a",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 75.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.15964,
    "h": 123.2
  },
  "luminance": 0.37451
}

Semantic roles & 50–950 ramp

primary
#8FB12A
secondary
#8670C6
accent
#43E56C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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