#8EA41A#8EA41A

#8EA41A is a light, vivid yellow. Relative luminance 0.324; OKLCH L 67.8% C 0.152 H 119.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8EA41A
RGBrgb(142, 164, 26)
HSLhsl(70, 73%, 37%)
HSVhsv(70, 84%, 64%)
CMYKcmyk(13.4%, 0%, 84.1%, 35.7%)
CIE-LABlab(63.65, -24.61, 61.52)
CIE-LCHlch(63.65, 66.26, 111.80°)
OKLaboklab(67.83% -0.0742 0.1332)
OKLCHoklch(67.83% 0.152 119.1)
XYZxyz(24.6178, 32.3765, 5.9295)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA41A #301AA4
analogous
#A4751A #8EA41A #49A41A
triadic
#8EA41A #1A8EA4 #A41A8E
tetradic
#8EA41A #1AA475 #301AA4 #A41A49
square
#8EA41A #1AA475 #301AA4 #A41A49
split-complementary
#8EA41A #1A49A4 #751AA4
monochromatic
#333A09 #606F12 #8EA41A #BCD922 #CDE454

Accessibility & contrast

On white

2.81
#8EA41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8EA41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA41A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA41A#FFFFFF#000000##000000
##8EA41A1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#979B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea41a;
/* rgb */ color: rgb(142, 164, 26);
/* oklch */ color: oklch(67.8% 0.152 119.1);
Tailwind
colors: {
  custom: {
    50: '#b3be66',
    500: '#8ea41a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea41a;
$custom-light: #b3be66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea41a",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 26
  },
  "hsl": {
    "h": 69.565,
    "s": 72.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.15241,
    "h": 119.1
  },
  "luminance": 0.32376
}

Semantic roles & 50–950 ramp

primary
#8EA41A
secondary
#6553C7
accent
#38EF56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8EA41A

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

Preview Lab → · Contrast checker → · Palette generator →

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