#8EA540#8EA540

#8EA540 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.3% C 0.130 H 120.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8EA540
RGBrgb(142, 165, 64)
HSLhsl(74, 44%, 45%)
HSVhsv(74, 61%, 65%)
CMYKcmyk(13.9%, 0%, 61.2%, 35.3%)
CIE-LABlab(64.19, -23.00, 48.38)
CIE-LCHlch(64.19, 53.57, 115.42°)
OKLaboklab(68.34% -0.0664 0.1115)
OKLCHoklch(68.34% 0.13 120.8)
XYZxyz(25.5362, 33.0313, 9.8799)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA540 #5740A5
analogous
#A58940 #8EA540 #5CA540
triadic
#8EA540 #408EA5 #A5408E
tetradic
#8EA540 #40A589 #5740A5 #A5405C
square
#8EA540 #40A589 #5740A5 #A5405C
split-complementary
#8EA540 #405CA5 #8940A5
monochromatic
#424D1E #68792F #8EA540 #ABC261 #C3D38D

Accessibility & contrast

On white

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

On black

7.61
#8EA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA540
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA540#FFFFFF#000000##000000
##8EA5401.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#AC9C47
Tritanopia (blue-blind)
#959D90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ea540;
/* rgb */ color: rgb(142, 165, 64);
/* oklch */ color: oklch(68.3% 0.130 120.8);
Tailwind
colors: {
  custom: {
    50: '#b1bf79',
    500: '#8ea540',
    950: '#000000',
  },
}
SCSS
$custom: #8ea540;
$custom-light: #b1bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea540",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 73.663,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.12973,
    "h": 120.8
  },
  "luminance": 0.33031
}

Semantic roles & 50–950 ramp

primary
#8EA540
secondary
#9083BE
accent
#54D471
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8EA540

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

Preview Lab → · Contrast checker → · Palette generator →

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