#8FB340#8FB340

#8FB340 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.7% C 0.147 H 124.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8FB340
RGBrgb(143, 179, 64)
HSLhsl(79, 47%, 48%)
HSVhsv(79, 64%, 70%)
CMYKcmyk(20.1%, 0%, 64.2%, 29.8%)
CIE-LABlab(68.35, -29.42, 52.92)
CIE-LCHlch(68.35, 60.55, 119.07°)
OKLaboklab(71.71% -0.0843 0.1211)
OKLCHoklch(71.71% 0.148 124.8)
XYZxyz(28.3734, 38.4497, 10.7762)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB340 #6440B3
analogous
#B39E40 #8FB340 #55B340
triadic
#8FB340 #408FB3 #B3408F
tetradic
#8FB340 #40B39E #6440B3 #B34055
square
#8FB340 #40B39E #6440B3 #B34055
split-complementary
#8FB340 #4055B3 #9E40B3
monochromatic
#475920 #6B8630 #8FB340 #AAC967 #C3D994

Accessibility & contrast

On white

2.42
#8FB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#8FB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB340
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB340#FFFFFF#000000##000000
##8FB3401.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#B8A649
Tritanopia (blue-blind)
#95AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb340;
/* rgb */ color: rgb(143, 179, 64);
/* oklch */ color: oklch(71.7% 0.147 124.8);
Tailwind
colors: {
  custom: {
    50: '#b3c97a',
    500: '#8fb340',
    950: '#000000',
  },
}
SCSS
$custom: #8fb340;
$custom-light: #b3c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb340",
  "rgb": {
    "r": 143,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 78.783,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.1475,
    "h": 124.8
  },
  "luminance": 0.3845
}

Semantic roles & 50–950 ramp

primary
#8FB340
secondary
#9D8AC4
accent
#51D77B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB340

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

Preview Lab → · Contrast checker → · Palette generator →

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