#8EA61F#8EA61F

#8EA61F is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.3% C 0.153 H 119.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8EA61F
RGBrgb(142, 166, 31)
HSLhsl(71, 69%, 39%)
HSVhsv(71, 81%, 65%)
CMYKcmyk(14.5%, 0%, 81.3%, 34.9%)
CIE-LABlab(64.26, -25.42, 60.74)
CIE-LCHlch(64.26, 65.84, 112.71°)
OKLaboklab(68.32% -0.0761 0.1323)
OKLCHoklch(68.32% 0.153 119.9)
XYZxyz(25.0394, 33.1223, 6.3702)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA61F #371FA6
analogous
#A67A1F #8EA61F #4AA61F
triadic
#8EA61F #1F8EA6 #A61F8E
tetradic
#8EA61F #1FA67A #371FA6 #A61F4A
square
#8EA61F #1FA67A #371FA6 #A61F4A
split-complementary
#8EA61F #1F4AA6 #7A1FA6
monochromatic
#363F0C #627215 #8EA61F #B9D72B #CAE15E

Accessibility & contrast

On white

2.75
#8EA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#8EA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA61F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA61F#FFFFFF#000000##000000
##8EA61F1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#979D8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ea61f;
/* rgb */ color: rgb(142, 166, 31);
/* oklch */ color: oklch(68.3% 0.153 119.9);
Tailwind
colors: {
  custom: {
    50: '#b3c068',
    500: '#8ea61f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea61f;
$custom-light: #b3c068;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea61f",
  "rgb": {
    "r": 142,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 70.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.1526,
    "h": 119.9
  },
  "luminance": 0.33122
}

Semantic roles & 50–950 ramp

primary
#8EA61F
secondary
#6E5BC5
accent
#3CEB5C
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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