#8EB231#8EB231

#8EB231 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.3% C 0.157 H 124.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8EB231
RGBrgb(142, 178, 49)
HSLhsl(77, 57%, 45%)
HSVhsv(77, 72%, 70%)
CMYKcmyk(20.2%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.88, -30.34, 58.32)
CIE-LCHlch(67.88, 65.74, 117.48°)
OKLaboklab(71.28% -0.0881 0.1302)
OKLCHoklch(71.28% 0.157 124.1)
XYZxyz(27.6304, 37.8131, 8.7481)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB231 #5531B2
analogous
#B29631 #8EB231 #4EB231
triadic
#8EB231 #318EB2 #B2318E
tetradic
#8EB231 #31B296 #5531B2 #B2314E
square
#8EB231 #31B296 #5531B2 #B2314E
split-complementary
#8EB231 #314EB2 #9631B2
monochromatic
#415217 #688224 #8EB231 #ACCF51 #C3DC81

Accessibility & contrast

On white

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

On black

8.56
#8EB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB231
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB231#FFFFFF#000000##000000
##8EB2311.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#95A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8eb231;
/* rgb */ color: rgb(142, 178, 49);
/* oklch */ color: oklch(71.3% 0.157 124.1);
Tailwind
colors: {
  custom: {
    50: '#b3c972',
    500: '#8eb231',
    950: '#000000',
  },
}
SCSS
$custom: #8eb231;
$custom-light: #b3c972;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb231",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 76.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7128,
    "c": 0.15723,
    "h": 124.1
  },
  "luminance": 0.37813
}

Semantic roles & 50–950 ramp

primary
#8EB231
secondary
#8F79C5
accent
#48E072
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB231

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

Preview Lab → · Contrast checker → · Palette generator →

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