#8FB540#8FB540

#8FB540 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.2% C 0.150 H 125.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8FB540
RGBrgb(143, 181, 64)
HSLhsl(79, 48%, 48%)
HSVhsv(79, 65%, 71%)
CMYKcmyk(21%, 0%, 64.6%, 29%)
CIE-LABlab(68.94, -30.37, 53.55)
CIE-LCHlch(68.94, 61.56, 119.56°)
OKLaboklab(72.18% -0.0869 0.1224)
OKLCHoklch(72.18% 0.15 125.4)
XYZxyz(28.7771, 39.2572, 10.9108)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB540 #6640B5
analogous
#B5A040 #8FB540 #55B540
triadic
#8FB540 #408FB5 #B5408F
tetradic
#8FB540 #40B5A0 #6640B5 #B54055
square
#8FB540 #40B5A0 #6640B5 #B54055
split-complementary
#8FB540 #4055B5 #A040B5
monochromatic
#485B20 #6B8830 #8FB540 #AACA68 #C4DA96

Accessibility & contrast

On white

2.37
#8FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#8FB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB540
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB540#FFFFFF#000000##000000
##8FB5401.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#B9A849
Tritanopia (blue-blind)
#95AD9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fb540;
/* rgb */ color: rgb(143, 181, 64);
/* oklch */ color: oklch(72.2% 0.150 125.4);
Tailwind
colors: {
  custom: {
    50: '#b3cb7a',
    500: '#8fb540',
    950: '#000000',
  },
}
SCSS
$custom: #8fb540;
$custom-light: #b3cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb540",
  "rgb": {
    "r": 143,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 79.487,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72184,
    "c": 0.15009,
    "h": 125.4
  },
  "luminance": 0.39258
}

Semantic roles & 50–950 ramp

primary
#8FB540
secondary
#9E8BC5
accent
#50D77C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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