#8FBA40#8FBA40

#8FBA40 is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.4% C 0.157 H 126.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8FBA40
RGBrgb(143, 186, 64)
HSLhsl(81, 49%, 49%)
HSVhsv(81, 66%, 73%)
CMYKcmyk(23.1%, 0%, 65.6%, 27.1%)
CIE-LABlab(70.40, -32.71, 55.11)
CIE-LCHlch(70.40, 64.09, 120.69°)
OKLaboklab(73.37% -0.0934 0.1257)
OKLCHoklch(73.37% 0.157 126.6)
XYZxyz(29.8121, 41.3271, 11.2558)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBA40 #6B40BA
analogous
#BAA840 #8FBA40 #52BA40
triadic
#8FBA40 #408FBA #BA408F
tetradic
#8FBA40 #40BAA8 #6B40BA #BA4052
square
#8FBA40 #40BAA8 #6B40BA #BA4052
split-complementary
#8FBA40 #4052BA #A840BA
monochromatic
#495F21 #6C8C30 #8FBA40 #AACC6B #C4DC99

Accessibility & contrast

On white

2.27
#8FBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#8FBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBA40
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBA40#FFFFFF#000000##000000
##8FBA401.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE30
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#94B2A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fba40;
/* rgb */ color: rgb(143, 186, 64);
/* oklch */ color: oklch(73.4% 0.157 126.6);
Tailwind
colors: {
  custom: {
    50: '#b3cf7b',
    500: '#8fba40',
    950: '#000000',
  },
}
SCSS
$custom: #8fba40;
$custom-light: #b3cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fba40",
  "rgb": {
    "r": 143,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 81.148,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73371,
    "c": 0.15656,
    "h": 126.6
  },
  "luminance": 0.41328
}

Semantic roles & 50–950 ramp

primary
#8FBA40
secondary
#A28EC8
accent
#4FD880
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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