#8FB840#8FB840

#8FB840 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 72.9% C 0.154 H 126.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8FB840
RGBrgb(143, 184, 64)
HSLhsl(81, 48%, 49%)
HSVhsv(81, 65%, 72%)
CMYKcmyk(22.3%, 0%, 65.2%, 27.8%)
CIE-LABlab(69.82, -31.78, 54.49)
CIE-LCHlch(69.82, 63.08, 120.25°)
OKLaboklab(72.9% -0.0908 0.1244)
OKLCHoklch(72.9% 0.154 126.1)
XYZxyz(29.3937, 40.4904, 11.1163)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB840 #6940B8
analogous
#B8A540 #8FB840 #53B840
triadic
#8FB840 #408FB8 #B8408F
tetradic
#8FB840 #40B8A5 #6940B8 #B84053
square
#8FB840 #40B8A5 #6940B8 #B84053
split-complementary
#8FB840 #4053B8 #A540B8
monochromatic
#485D20 #6C8B30 #8FB840 #AACB6A #C4DB97

Accessibility & contrast

On white

2.31
#8FB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#8FB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB840
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB840#FFFFFF#000000##000000
##8FB8401.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#95B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fb840;
/* rgb */ color: rgb(143, 184, 64);
/* oklch */ color: oklch(72.9% 0.154 126.1);
Tailwind
colors: {
  custom: {
    50: '#b3cd7b',
    500: '#8fb840',
    950: '#000000',
  },
}
SCSS
$custom: #8fb840;
$custom-light: #b3cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb840",
  "rgb": {
    "r": 143,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 80.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.15398,
    "h": 126.1
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

primary
#8FB840
secondary
#A18DC7
accent
#50D87E
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB840

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

Preview Lab → · Contrast checker → · Palette generator →

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