#8EB45F#8EB45F

#8EB45F is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.121 H 128.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8EB45F
RGBrgb(142, 180, 95)
HSLhsl(87, 36%, 54%)
HSVhsv(87, 47%, 71%)
CMYKcmyk(21.1%, 0%, 47.2%, 29.4%)
CIE-LABlab(68.91, -27.30, 39.04)
CIE-LCHlch(68.91, 47.64, 124.96°)
OKLaboklab(72.25% -0.0757 0.0941)
OKLCHoklch(72.25% 0.121 128.8)
XYZxyz(29.5419, 39.2190, 16.8379)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB45F #855FB4
analogous
#B4B05F #8EB45F #64B45F
triadic
#8EB45F #5F8EB4 #B45F8E
tetradic
#8EB45F #5FB4B0 #855FB4 #B45F64
square
#8EB45F #5FB4B0 #855FB4 #B45F64
split-complementary
#8EB45F #5F64B4 #B05FB4
monochromatic
#4F6831 #6F9244 #8EB45F #ABC889 #C9DBB2

Accessibility & contrast

On white

2.37
#8EB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#8EB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB45F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB45F#FFFFFF#000000##000000
##8EB45F1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA58
Deuteranopia (green-blind)
#B6A764
Tritanopia (blue-blind)
#91ADA0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8eb45f;
/* rgb */ color: rgb(142, 180, 95);
/* oklch */ color: oklch(72.3% 0.121 128.8);
Tailwind
colors: {
  custom: {
    50: '#b1ca8e',
    500: '#8eb45f',
    950: '#000000',
  },
}
SCSS
$custom: #8eb45f;
$custom-light: #b1ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb45f",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 86.824,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72251,
    "c": 0.12072,
    "h": 128.8
  },
  "luminance": 0.3922
}

Semantic roles & 50–950 ramp

primary
#8EB45F
secondary
#B5A5CA
accent
#5CCC8E
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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