#8EB338#8EB338

#8EB338 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.6% C 0.154 H 124.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8EB338
RGBrgb(142, 179, 56)
HSLhsl(78, 52%, 46%)
HSVhsv(78, 69%, 70%)
CMYKcmyk(20.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(68.22, -30.38, 56.03)
CIE-LCHlch(68.22, 63.74, 118.47°)
OKLaboklab(71.57% -0.0876 0.1265)
OKLCHoklch(71.57% 0.154 124.7)
XYZxyz(27.9894, 38.2762, 9.6541)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB338 #5D38B3
analogous
#B39A38 #8EB338 #50B338
triadic
#8EB338 #388EB3 #B3388E
tetradic
#8EB338 #38B39A #5D38B3 #B33850
square
#8EB338 #38B39A #5D38B3 #B33850
split-complementary
#8EB338 #3850B3 #9A38B3
monochromatic
#44561B #698429 #8EB338 #AACC5C #C3DB8B

Accessibility & contrast

On white

2.43
#8EB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#8EB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB338
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB338#FFFFFF#000000##000000
##8EB3381.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#94AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb338;
/* rgb */ color: rgb(142, 179, 56);
/* oklch */ color: oklch(71.6% 0.154 124.7);
Tailwind
colors: {
  custom: {
    50: '#b2c976',
    500: '#8eb338',
    950: '#000000',
  },
}
SCSS
$custom: #8eb338;
$custom-light: #b2c976;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb338",
  "rgb": {
    "r": 142,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 78.049,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71571,
    "c": 0.15387,
    "h": 124.7
  },
  "luminance": 0.38277
}

Semantic roles & 50–950 ramp

primary
#8EB338
secondary
#9682C5
accent
#4CDC77
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB338

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

Preview Lab → · Contrast checker → · Palette generator →

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