#8EB238#8EB238

#8EB238 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.153 H 124.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8EB238
RGBrgb(142, 178, 56)
HSLhsl(78, 52%, 46%)
HSVhsv(78, 69%, 70%)
CMYKcmyk(20.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(67.93, -29.91, 55.73)
CIE-LCHlch(67.93, 63.25, 118.22°)
OKLaboklab(71.33% -0.0863 0.1259)
OKLCHoklch(71.33% 0.153 124.4)
XYZxyz(27.7897, 37.8768, 9.5875)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB238 #5C38B2
analogous
#B29938 #8EB238 #51B238
triadic
#8EB238 #388EB2 #B2388E
tetradic
#8EB238 #38B299 #5C38B2 #B23851
square
#8EB238 #38B299 #5C38B2 #B23851
split-complementary
#8EB238 #3851B2 #9938B2
monochromatic
#44551B #698329 #8EB238 #ABCC5C #C3DA8A

Accessibility & contrast

On white

2.45
#8EB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8EB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB238
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB238#FFFFFF#000000##000000
##8EB2381.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#95A99A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb238;
/* rgb */ color: rgb(142, 178, 56);
/* oklch */ color: oklch(71.3% 0.153 124.4);
Tailwind
colors: {
  custom: {
    50: '#b2c976',
    500: '#8eb238',
    950: '#000000',
  },
}
SCSS
$custom: #8eb238;
$custom-light: #b2c976;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb238",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 77.705,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71333,
    "c": 0.15262,
    "h": 124.4
  },
  "luminance": 0.37877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8EB238

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

Preview Lab → · Contrast checker → · Palette generator →

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