#8EA61C#8EA61C

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

Color values

HEX#8EA61C
RGBrgb(142, 166, 28)
HSLhsl(70, 71%, 38%)
HSVhsv(70, 83%, 65%)
CMYKcmyk(14.5%, 0%, 83.1%, 34.9%)
CIE-LABlab(64.25, -25.53, 61.53)
CIE-LCHlch(64.25, 66.62, 112.53°)
OKLaboklab(68.31% -0.0766 0.1335)
OKLCHoklch(68.31% 0.154 119.8)
XYZxyz(25.0017, 33.1072, 6.1716)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA61C #341CA6
analogous
#A6791C #8EA61C #49A61C
triadic
#8EA61C #1C8EA6 #A61C8E
tetradic
#8EA61C #1CA679 #341CA6 #A61C49
square
#8EA61C #1CA679 #341CA6 #A61C49
split-complementary
#8EA61C #1C49A6 #791CA6
monochromatic
#343D0A #617213 #8EA61C #BBDA25 #CBE359

Accessibility & contrast

On white

2.76
#8EA61C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA61C#FFFFFF#000000##000000
##8EA61C1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea61c;
/* rgb */ color: rgb(142, 166, 28);
/* oklch */ color: oklch(68.3% 0.154 119.8);
Tailwind
colors: {
  custom: {
    50: '#b3c067',
    500: '#8ea61c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea61c;
$custom-light: #b3c067;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea61c",
  "rgb": {
    "r": 142,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 70.435,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6831,
    "c": 0.15388,
    "h": 119.8
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#8EA61C
secondary
#6A57C7
accent
#3AEE59
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA61C

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

Preview Lab → · Contrast checker → · Palette generator →

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