#8FB12C#8FB12C

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

Color values

HEX#8FB12C
RGBrgb(143, 177, 44)
HSLhsl(75, 60%, 43%)
HSVhsv(75, 75%, 69%)
CMYKcmyk(19.2%, 0%, 75.1%, 30.6%)
CIE-LABlab(67.62, -29.73, 59.84)
CIE-LCHlch(67.62, 66.82, 116.42°)
OKLaboklab(71.08% -0.0869 0.1326)
OKLCHoklch(71.08% 0.159 123.3)
XYZxyz(27.5048, 37.4656, 8.1649)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB12C #4E2CB1
analogous
#B1902C #8FB12C #4DB12C
triadic
#8FB12C #2C8FB1 #B12C8F
tetradic
#8FB12C #2CB190 #4E2CB1 #B12C4D
square
#8FB12C #2CB190 #4E2CB1 #B12C4D
split-complementary
#8FB12C #2C4DB1 #902CB1
monochromatic
#404F14 #678020 #8FB12C #AFD249 #C4DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FB12C#FFFFFF#000000##000000
##8FB12C1.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)
#BBA60E
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#96A898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb12c;
/* rgb */ color: rgb(143, 177, 44);
/* oklch */ color: oklch(71.1% 0.159 123.3);
Tailwind
colors: {
  custom: {
    50: '#b3c86f',
    500: '#8fb12c',
    950: '#000000',
  },
}
SCSS
$custom: #8fb12c;
$custom-light: #b3c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb12c",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 75.338,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.15852,
    "h": 123.3
  },
  "luminance": 0.37466
}

Semantic roles & 50–950 ramp

primary
#8FB12C
secondary
#8873C6
accent
#44E36D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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