#8EB226#8EB226

#8EB226 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.2% C 0.163 H 123.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8EB226
RGBrgb(142, 178, 38)
HSLhsl(75, 65%, 42%)
HSVhsv(75, 79%, 70%)
CMYKcmyk(20.2%, 0%, 78.7%, 30.2%)
CIE-LABlab(67.82, -30.90, 61.92)
CIE-LCHlch(67.82, 69.20, 116.52°)
OKLaboklab(71.21% -0.0905 0.136)
OKLCHoklch(71.21% 0.163 123.7)
XYZxyz(27.4259, 37.7313, 7.6713)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB226 #4A26B2
analogous
#B29026 #8EB226 #48B226
triadic
#8EB226 #268EB2 #B2268E
tetradic
#8EB226 #26B290 #4A26B2 #B22648
square
#8EB226 #26B290 #4A26B2 #B22648
split-complementary
#8EB226 #2648B2 #9026B2
monochromatic
#3E4D10 #66801B #8EB226 #AFD63F #C4E172

Accessibility & contrast

On white

2.46
#8EB226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#8EB226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB226
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB226#FFFFFF#000000##000000
##8EB2261.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#95A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb226;
/* rgb */ color: rgb(142, 178, 38);
/* oklch */ color: oklch(71.2% 0.163 123.7);
Tailwind
colors: {
  custom: {
    50: '#b3c96d',
    500: '#8eb226',
    950: '#000000',
  },
}
SCSS
$custom: #8eb226;
$custom-light: #b3c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb226",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 75.429,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.16335,
    "h": 123.7
  },
  "luminance": 0.37732
}

Semantic roles & 50–950 ramp

primary
#8EB226
secondary
#846CC8
accent
#40E86B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB226

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

Preview Lab → · Contrast checker → · Palette generator →

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