#8EA242#8EA242

#8EA242 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.7% C 0.124 H 119.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8EA242
RGBrgb(142, 162, 66)
HSLhsl(73, 42%, 45%)
HSVhsv(73, 59%, 64%)
CMYKcmyk(12.3%, 0%, 59.3%, 36.5%)
CIE-LABlab(63.33, -21.33, 46.52)
CIE-LCHlch(63.33, 51.18, 114.63°)
OKLaboklab(67.65% -0.0615 0.1078)
OKLCHoklch(67.65% 0.124 119.7)
XYZxyz(25.0593, 31.9849, 10.0067)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA242 #5642A2
analogous
#A28642 #8EA242 #5EA242
triadic
#8EA242 #428EA2 #A2428E
tetradic
#8EA242 #42A286 #5642A2 #A2425E
square
#8EA242 #42A286 #5642A2 #A2425E
split-complementary
#8EA242 #425EA2 #8642A2
monochromatic
#424B1F #687730 #8EA242 #ACBF62 #C3D18E

Accessibility & contrast

On white

2.84
#8EA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8EA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA242
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA242#FFFFFF#000000##000000
##8EA2421.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9938
Deuteranopia (green-blind)
#A99A48
Tritanopia (blue-blind)
#959A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea242;
/* rgb */ color: rgb(142, 162, 66);
/* oklch */ color: oklch(67.7% 0.124 119.7);
Tailwind
colors: {
  custom: {
    50: '#b1bd7a',
    500: '#8ea242',
    950: '#000000',
  },
}
SCSS
$custom: #8ea242;
$custom-light: #b1bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea242",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 72.5,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67653,
    "c": 0.12408,
    "h": 119.7
  },
  "luminance": 0.31985
}

Semantic roles & 50–950 ramp

primary
#8EA242
secondary
#9084BC
accent
#56D270
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA242

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

Preview Lab → · Contrast checker → · Palette generator →

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