#8EA122#8EA122

#8EA122 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.145 H 118.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8EA122
RGBrgb(142, 161, 34)
HSLhsl(69, 65%, 38%)
HSVhsv(69, 79%, 63%)
CMYKcmyk(11.8%, 0%, 78.9%, 36.9%)
CIE-LABlab(62.81, -22.83, 58.56)
CIE-LCHlch(62.81, 62.85, 111.30°)
OKLaboklab(67.16% -0.0687 0.1282)
OKLCHoklch(67.16% 0.145 118.2)
XYZxyz(24.1895, 31.3562, 6.2911)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA122 #3522A1
analogous
#A17422 #8EA122 #4FA122
triadic
#8EA122 #228EA1 #A1228E
tetradic
#8EA122 #22A174 #3522A1 #A1224F
square
#8EA122 #22A174 #3522A1 #A1224F
split-complementary
#8EA122 #224FA1 #7422A1
monochromatic
#353C0D #616E17 #8EA122 #BAD32D #CBDD60

Accessibility & contrast

On white

2.89
#8EA122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8EA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA122
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA122#FFFFFF#000000##000000
##8EA1221.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea122;
/* rgb */ color: rgb(142, 161, 34);
/* oklch */ color: oklch(67.2% 0.145 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8ea122',
    950: '#000000',
  },
}
SCSS
$custom: #8ea122;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea122",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 68.976,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67158,
    "c": 0.14543,
    "h": 118.2
  },
  "luminance": 0.31356
}

Semantic roles & 50–950 ramp

primary
#8EA122
secondary
#6C5DC2
accent
#40E859
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA122

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

Preview Lab → · Contrast checker → · Palette generator →

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