#8FAC40#8FAC40

#8FAC40 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 70.1% C 0.138 H 122.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8FAC40
RGBrgb(143, 172, 64)
HSLhsl(76, 46%, 46%)
HSVhsv(76, 63%, 67%)
CMYKcmyk(16.9%, 0%, 62.8%, 32.5%)
CIE-LABlab(66.30, -26.04, 50.71)
CIE-LCHlch(66.30, 57.01, 117.18°)
OKLaboklab(70.06% -0.0749 0.1164)
OKLCHoklch(70.06% 0.138 122.8)
XYZxyz(27.0059, 35.7148, 10.3204)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC40 #5D40AC
analogous
#AC9340 #8FAC40 #59AC40
triadic
#8FAC40 #408FAC #AC408F
tetradic
#8FAC40 #40AC93 #5D40AC #AC4059
square
#8FAC40 #40AC93 #5D40AC #AC4059
split-complementary
#8FAC40 #4059AC #9340AC
monochromatic
#45531F #6A7F2F #8FAC40 #ABC564 #C3D691

Accessibility & contrast

On white

2.58
#8FAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#8FAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC40
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC40#FFFFFF#000000##000000
##8FAC401.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B2A148
Tritanopia (blue-blind)
#96A495
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac40;
/* rgb */ color: rgb(143, 172, 64);
/* oklch */ color: oklch(70.1% 0.138 122.8);
Tailwind
colors: {
  custom: {
    50: '#b2c47a',
    500: '#8fac40',
    950: '#000000',
  },
}
SCSS
$custom: #8fac40;
$custom-light: #b2c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac40",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 76.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70056,
    "c": 0.13841,
    "h": 122.8
  },
  "luminance": 0.35715
}

Semantic roles & 50–950 ramp

primary
#8FAC40
secondary
#9687C1
accent
#52D576
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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