#8EB938#8EB938

#8EB938 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.0% C 0.161 H 126.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8EB938
RGBrgb(142, 185, 56)
HSLhsl(80, 54%, 47%)
HSVhsv(80, 70%, 73%)
CMYKcmyk(23.2%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.99, -33.19, 57.83)
CIE-LCHlch(69.99, 66.68, 119.85°)
OKLaboklab(73% -0.0953 0.1303)
OKLCHoklch(73% 0.161 126.2)
XYZxyz(29.2182, 40.7338, 10.0637)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB938 #6338B9
analogous
#B9A438 #8EB938 #4EB938
triadic
#8EB938 #388EB9 #B9388E
tetradic
#8EB938 #38B9A4 #6338B9 #B9384E
square
#8EB938 #38B9A4 #6338B9 #B9384E
split-complementary
#8EB938 #384EB9 #A438B9
monochromatic
#465B1C #6A8A2A #8EB938 #AACF5F #C3DD8E

Accessibility & contrast

On white

2.30
#8EB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#8EB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB938
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB938#FFFFFF#000000##000000
##8EB9381.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#94B09F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8eb938;
/* rgb */ color: rgb(142, 185, 56);
/* oklch */ color: oklch(73.0% 0.161 126.2);
Tailwind
colors: {
  custom: {
    50: '#b3ce76',
    500: '#8eb938',
    950: '#000000',
  },
}
SCSS
$custom: #8eb938;
$custom-light: #b3ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb938",
  "rgb": {
    "r": 142,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 80,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72999,
    "c": 0.16144,
    "h": 126.2
  },
  "luminance": 0.40734
}

Semantic roles & 50–950 ramp

primary
#8EB938
secondary
#9B85C8
accent
#4BDD7C
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB938

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

Preview Lab → · Contrast checker → · Palette generator →

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