#8EB631#8EB631

#8EB631 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.2% C 0.162 H 125.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8EB631
RGBrgb(142, 182, 49)
HSLhsl(78, 58%, 45%)
HSVhsv(78, 73%, 71%)
CMYKcmyk(22%, 0%, 73.1%, 28.6%)
CIE-LABlab(69.06, -32.22, 59.48)
CIE-LCHlch(69.06, 67.65, 118.45°)
OKLaboklab(72.23% -0.0933 0.1327)
OKLCHoklch(72.23% 0.162 125.1)
XYZxyz(28.4379, 39.4281, 9.0173)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB631 #5931B6
analogous
#B69B31 #8EB631 #4BB631
triadic
#8EB631 #318EB6 #B6318E
tetradic
#8EB631 #31B69B #5931B6 #B6314B
square
#8EB631 #31B69B #5931B6 #B6314B
split-complementary
#8EB631 #314BB6 #9B31B6
monochromatic
#435617 #688624 #8EB631 #ABD153 #C3DE84

Accessibility & contrast

On white

2.36
#8EB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#8EB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB631
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB631#FFFFFF#000000##000000
##8EB6311.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#94AD9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8eb631;
/* rgb */ color: rgb(142, 182, 49);
/* oklch */ color: oklch(72.2% 0.162 125.1);
Tailwind
colors: {
  custom: {
    50: '#b3cc72',
    500: '#8eb631',
    950: '#000000',
  },
}
SCSS
$custom: #8eb631;
$custom-light: #b3cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb631",
  "rgb": {
    "r": 142,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 78.045,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.16216,
    "h": 125.1
  },
  "luminance": 0.39428
}

Semantic roles & 50–950 ramp

primary
#8EB631
secondary
#927CC7
accent
#47E175
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB631

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

Preview Lab → · Contrast checker → · Palette generator →

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