#8EA81F#8EA81F

#8EA81F is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.8% C 0.155 H 120.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8EA81F
RGBrgb(142, 168, 31)
HSLhsl(71, 69%, 39%)
HSVhsv(71, 82%, 66%)
CMYKcmyk(15.5%, 0%, 81.5%, 34.1%)
CIE-LABlab(64.85, -26.40, 61.26)
CIE-LCHlch(64.85, 66.70, 113.31°)
OKLaboklab(68.8% -0.0787 0.1334)
OKLCHoklch(68.8% 0.155 120.5)
XYZxyz(25.4058, 33.8550, 6.4923)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA81F #391FA8
analogous
#A87E1F #8EA81F #4AA81F
triadic
#8EA81F #1F8EA8 #A81F8E
tetradic
#8EA81F #1FA87E #391FA8 #A81F4A
square
#8EA81F #1FA87E #391FA8 #A81F4A
split-complementary
#8EA81F #1F4AA8 #7E1FA8
monochromatic
#37410C #627415 #8EA81F #B7D82C #C9E260

Accessibility & contrast

On white

2.70
#8EA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8EA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA81F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA81F#FFFFFF#000000##000000
##8EA81F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#969F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ea81f;
/* rgb */ color: rgb(142, 168, 31);
/* oklch */ color: oklch(68.8% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#b3c168',
    500: '#8ea81f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea81f;
$custom-light: #b3c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea81f",
  "rgb": {
    "r": 142,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 71.387,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68798,
    "c": 0.1549,
    "h": 120.5
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#8EA81F
secondary
#715DC6
accent
#3CEC5D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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