#8EB431#8EB431

#8EB431 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.8% C 0.160 H 124.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8EB431
RGBrgb(142, 180, 49)
HSLhsl(77, 57%, 45%)
HSVhsv(77, 73%, 71%)
CMYKcmyk(21.1%, 0%, 72.8%, 29.4%)
CIE-LABlab(68.47, -31.28, 58.90)
CIE-LCHlch(68.47, 66.69, 117.97°)
OKLaboklab(71.76% -0.0907 0.1314)
OKLCHoklch(71.76% 0.16 124.6)
XYZxyz(28.0312, 38.6148, 8.8817)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB431 #5731B4
analogous
#B49931 #8EB431 #4CB431
triadic
#8EB431 #318EB4 #B4318E
tetradic
#8EB431 #31B499 #5731B4 #B4314C
square
#8EB431 #31B499 #5731B4 #B4314C
split-complementary
#8EB431 #314CB4 #9931B4
monochromatic
#425417 #688424 #8EB431 #ABD052 #C3DD82

Accessibility & contrast

On white

2.41
#8EB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8EB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB431
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB431#FFFFFF#000000##000000
##8EB4311.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#95AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb431;
/* rgb */ color: rgb(142, 180, 49);
/* oklch */ color: oklch(71.8% 0.160 124.6);
Tailwind
colors: {
  custom: {
    50: '#b3ca72',
    500: '#8eb431',
    950: '#000000',
  },
}
SCSS
$custom: #8eb431;
$custom-light: #b3ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb431",
  "rgb": {
    "r": 142,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 77.405,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.1597,
    "h": 124.6
  },
  "luminance": 0.38615
}

Semantic roles & 50–950 ramp

primary
#8EB431
secondary
#907BC6
accent
#47E074
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EB431

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

Preview Lab → · Contrast checker → · Palette generator →

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