#8EAE31#8EAE31

#8EAE31 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.3% C 0.152 H 123.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8EAE31
RGBrgb(142, 174, 49)
HSLhsl(75, 56%, 44%)
HSVhsv(75, 72%, 68%)
CMYKcmyk(18.4%, 0%, 71.8%, 31.8%)
CIE-LABlab(66.71, -28.43, 57.16)
CIE-LCHlch(66.71, 63.85, 116.45°)
OKLaboklab(70.33% -0.0829 0.1278)
OKLCHoklch(70.33% 0.152 123)
XYZxyz(26.8461, 36.2445, 8.4867)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAE31 #5131AE
analogous
#AE8F31 #8EAE31 #4FAE31
triadic
#8EAE31 #318EAE #AE318E
tetradic
#8EAE31 #31AE8F #5131AE #AE314F
square
#8EAE31 #31AE8F #5131AE #AE314F
split-complementary
#8EAE31 #314FAE #8F31AE
monochromatic
#404E16 #677E24 #8EAE31 #ADCD4F #C3DB7F

Accessibility & contrast

On white

2.55
#8EAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#8EAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAE31
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAE31#FFFFFF#000000##000000
##8EAE311.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#95A596
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8eae31;
/* rgb */ color: rgb(142, 174, 49);
/* oklch */ color: oklch(70.3% 0.152 123.0);
Tailwind
colors: {
  custom: {
    50: '#b2c671',
    500: '#8eae31',
    950: '#000000',
  },
}
SCSS
$custom: #8eae31;
$custom-light: #b2c671;
$custom-dark: #000000;
JSON
{
  "hex": "#8eae31",
  "rgb": {
    "r": 142,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 75.36,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.15231,
    "h": 123
  },
  "luminance": 0.36245
}

Semantic roles & 50–950 ramp

primary
#8EAE31
secondary
#8B77C4
accent
#48DF6F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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