#8EA12B#8EA12B

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

Color values

HEX#8EA12B
RGBrgb(142, 161, 43)
HSLhsl(70, 58%, 40%)
HSVhsv(70, 73%, 63%)
CMYKcmyk(11.8%, 0%, 73.3%, 36.9%)
CIE-LABlab(62.86, -22.40, 55.59)
CIE-LCHlch(62.86, 59.93, 111.95°)
OKLaboklab(67.21% -0.0668 0.1235)
OKLCHoklch(67.21% 0.14 118.4)
XYZxyz(24.3368, 31.4151, 7.0667)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA12B #3E2BA1
analogous
#A1792B #8EA12B #53A12B
triadic
#8EA12B #2B8EA1 #A12B8E
tetradic
#8EA12B #2BA179 #3E2BA1 #A12B53
square
#8EA12B #2BA179 #3E2BA1 #A12B53
split-complementary
#8EA12B #2B53A1 #792BA1
monochromatic
#394011 #63711E #8EA12B #B5CB3E #C7D86E

Accessibility & contrast

On white

2.88
#8EA12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8EA12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA12B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA12B#FFFFFF#000000##000000
##8EA12B1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea12b;
/* rgb */ color: rgb(142, 161, 43);
/* oklch */ color: oklch(67.2% 0.140 118.4);
Tailwind
colors: {
  custom: {
    50: '#b2bc6d',
    500: '#8ea12b',
    950: '#000000',
  },
}
SCSS
$custom: #8ea12b;
$custom-light: #b2bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea12b",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 69.661,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.14038,
    "h": 118.4
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#8EA12B
secondary
#7769BF
accent
#47E160
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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