#8EA12F#8EA12F

#8EA12F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.138 H 118.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8EA12F
RGBrgb(142, 161, 47)
HSLhsl(70, 55%, 41%)
HSVhsv(70, 71%, 63%)
CMYKcmyk(11.8%, 0%, 70.8%, 36.9%)
CIE-LABlab(62.88, -22.17, 54.12)
CIE-LCHlch(62.88, 58.49, 112.28°)
OKLaboklab(67.24% -0.0658 0.1211)
OKLCHoklch(67.24% 0.138 118.5)
XYZxyz(24.4138, 31.4460, 7.4723)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA12F #422FA1
analogous
#A17B2F #8EA12F #55A12F
triadic
#8EA12F #2F8EA1 #A12F8E
tetradic
#8EA12F #2FA17B #422FA1 #A12F55
square
#8EA12F #2FA17B #422FA1 #A12F55
split-complementary
#8EA12F #2F55A1 #7B2FA1
monochromatic
#3A4213 #647221 #8EA12F #B3C945 #C6D674

Accessibility & contrast

On white

2.88
#8EA12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8EA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA12F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA12F#FFFFFF#000000##000000
##8EA12F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#96988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea12f;
/* rgb */ color: rgb(142, 161, 47);
/* oklch */ color: oklch(67.2% 0.138 118.5);
Tailwind
colors: {
  custom: {
    50: '#b2bc6f',
    500: '#8ea12f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea12f;
$custom-light: #b2bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea12f",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 70,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.13779,
    "h": 118.5
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#8EA12F
secondary
#7B6EBE
accent
#4ADE62
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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