#8EA231#8EA231

#8EA231 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.5% C 0.138 H 119.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8EA231
RGBrgb(142, 162, 49)
HSLhsl(71, 54%, 41%)
HSVhsv(71, 70%, 64%)
CMYKcmyk(12.3%, 0%, 69.8%, 36.5%)
CIE-LABlab(63.19, -22.56, 53.65)
CIE-LCHlch(63.19, 58.20, 112.80°)
OKLaboklab(67.49% -0.0666 0.1204)
OKLCHoklch(67.49% 0.138 119)
XYZxyz(24.6305, 31.8134, 7.7482)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA231 #4531A2
analogous
#A27E31 #8EA231 #56A231
triadic
#8EA231 #318EA2 #A2318E
tetradic
#8EA231 #31A27E #4531A2 #A23156
square
#8EA231 #31A27E #4531A2 #A23156
split-complementary
#8EA231 #3156A2 #7E31A2
monochromatic
#3C4415 #657323 #8EA231 #B1C848 #C5D677

Accessibility & contrast

On white

2.85
#8EA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8EA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA231
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA231#FFFFFF#000000##000000
##8EA2311.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991F
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#96998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea231;
/* rgb */ color: rgb(142, 162, 49);
/* oklch */ color: oklch(67.5% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#b2bd70',
    500: '#8ea231',
    950: '#000000',
  },
}
SCSS
$custom: #8ea231;
$custom-light: #b2bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea231",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 70.619,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67493,
    "c": 0.13763,
    "h": 119
  },
  "luminance": 0.31813
}

Semantic roles & 50–950 ramp

primary
#8EA231
secondary
#7E71BE
accent
#4BDD65
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA231

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

Preview Lab → · Contrast checker → · Palette generator →

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