#8EA931#8EA931

#8EA931 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.1% C 0.146 H 121.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8EA931
RGBrgb(142, 169, 49)
HSLhsl(74, 55%, 43%)
HSVhsv(74, 71%, 66%)
CMYKcmyk(16%, 0%, 71%, 33.7%)
CIE-LABlab(65.24, -26.01, 55.71)
CIE-LCHlch(65.24, 61.48, 115.03°)
OKLaboklab(69.14% -0.0762 0.1247)
OKLCHoklch(69.14% 0.146 121.4)
XYZxyz(25.8981, 34.3485, 8.1707)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA931 #4C31A9
analogous
#A98831 #8EA931 #52A931
triadic
#8EA931 #318EA9 #A9318E
tetradic
#8EA931 #31A988 #4C31A9 #A93152
square
#8EA931 #31A988 #4C31A9 #A93152
split-complementary
#8EA931 #3152A9 #8831A9
monochromatic
#3E4A15 #667A23 #8EA931 #AFCB4C #C4D97C

Accessibility & contrast

On white

2.67
#8EA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8EA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA931
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA931#FFFFFF#000000##000000
##8EA9311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#B09E3B
Tritanopia (blue-blind)
#96A091
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8ea931;
/* rgb */ color: rgb(142, 169, 49);
/* oklch */ color: oklch(69.1% 0.146 121.4);
Tailwind
colors: {
  custom: {
    50: '#b2c271',
    500: '#8ea931',
    950: '#000000',
  },
}
SCSS
$custom: #8ea931;
$custom-light: #b2c271;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea931",
  "rgb": {
    "r": 142,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 73.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69144,
    "c": 0.14617,
    "h": 121.4
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#8EA931
secondary
#8674C1
accent
#49DE6B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA931

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

Preview Lab → · Contrast checker → · Palette generator →

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