#8FB240#8FB240

#8FB240 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.5% C 0.146 H 124.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8FB240
RGBrgb(143, 178, 64)
HSLhsl(78, 47%, 47%)
HSVhsv(78, 64%, 70%)
CMYKcmyk(19.7%, 0%, 64%, 30.2%)
CIE-LABlab(68.06, -28.94, 52.61)
CIE-LCHlch(68.06, 60.04, 118.82°)
OKLaboklab(71.47% -0.083 0.1204)
OKLCHoklch(71.47% 0.146 124.6)
XYZxyz(28.1737, 38.0503, 10.7097)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB240 #6340B2
analogous
#B29C40 #8FB240 #56B240
triadic
#8FB240 #408FB2 #B2408F
tetradic
#8FB240 #40B29C #6340B2 #B24056
square
#8FB240 #40B29C #6340B2 #B24056
split-complementary
#8FB240 #4056B2 #9C40B2
monochromatic
#475820 #6B8530 #8FB240 #AAC867 #C3D894

Accessibility & contrast

On white

2.44
#8FB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB240
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB240#FFFFFF#000000##000000
##8FB2401.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#B7A548
Tritanopia (blue-blind)
#95AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb240;
/* rgb */ color: rgb(143, 178, 64);
/* oklch */ color: oklch(71.5% 0.146 124.6);
Tailwind
colors: {
  custom: {
    50: '#b3c97a',
    500: '#8fb240',
    950: '#000000',
  },
}
SCSS
$custom: #8fb240;
$custom-light: #b3c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb240",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 78.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.14621,
    "h": 124.6
  },
  "luminance": 0.38051
}

Semantic roles & 50–950 ramp

primary
#8FB240
secondary
#9C8AC4
accent
#51D77A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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