#8EB945#8EB945

#8EB945 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.1% C 0.152 H 127.1°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8EB945
RGBrgb(142, 185, 69)
HSLhsl(82, 46%, 50%)
HSVhsv(82, 63%, 73%)
CMYKcmyk(23.2%, 0%, 62.7%, 27.5%)
CIE-LABlab(70.09, -32.25, 52.65)
CIE-LCHlch(70.09, 61.74, 121.49°)
OKLaboklab(73.11% -0.0916 0.1211)
OKLCHoklch(73.11% 0.152 127.1)
XYZxyz(29.5785, 40.8779, 11.9610)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB945 #7045B9
analogous
#B9AA45 #8EB945 #54B945
triadic
#8EB945 #458EB9 #B9458E
tetradic
#8EB945 #45B9AA #7045B9 #B94554
square
#8EB945 #45B9AA #7045B9 #B94554
split-complementary
#8EB945 #4554B9 #AA45B9
monochromatic
#4A6024 #6C8C34 #8EB945 #A9CA71 #C4DB9E

Accessibility & contrast

On white

2.29
#8EB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8EB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB945
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB945#FFFFFF#000000##000000
##8EB9451.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#93B1A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8eb945;
/* rgb */ color: rgb(142, 185, 69);
/* oklch */ color: oklch(73.1% 0.152 127.1);
Tailwind
colors: {
  custom: {
    50: '#b2ce7e',
    500: '#8eb945',
    950: '#000000',
  },
}
SCSS
$custom: #8eb945;
$custom-light: #b2ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb945",
  "rgb": {
    "r": 142,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 82.241,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.15187,
    "h": 127.1
  },
  "luminance": 0.40878
}

Semantic roles & 50–950 ramp

primary
#8EB945
secondary
#A693C7
accent
#52D583
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8EB945

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

Preview Lab → · Contrast checker → · Palette generator →

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