#8EA12A#8EA12A

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

Color values

HEX#8EA12A
RGBrgb(142, 161, 42)
HSLhsl(70, 59%, 40%)
HSVhsv(70, 74%, 63%)
CMYKcmyk(11.8%, 0%, 73.9%, 36.9%)
CIE-LABlab(62.85, -22.45, 55.94)
CIE-LCHlch(62.85, 60.28, 111.87°)
OKLaboklab(67.21% -0.067 0.1241)
OKLCHoklch(67.21% 0.141 118.4)
XYZxyz(24.3186, 31.4079, 6.9713)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA12A #3D2AA1
analogous
#A1792A #8EA12A #52A12A
triadic
#8EA12A #2A8EA1 #A12A8E
tetradic
#8EA12A #2AA179 #3D2AA1 #A12A52
square
#8EA12A #2AA179 #3D2AA1 #A12A52
split-complementary
#8EA12A #2A52A1 #792AA1
monochromatic
#384011 #63701D #8EA12A #B5CC3C #C8D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA12A#FFFFFF#000000##000000
##8EA12A1.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)
#AC9812
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea12a;
/* rgb */ color: rgb(142, 161, 42);
/* oklch */ color: oklch(67.2% 0.141 118.4);
Tailwind
colors: {
  custom: {
    50: '#b2bc6c',
    500: '#8ea12a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea12a;
$custom-light: #b2bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea12a",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 69.58,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67207,
    "c": 0.14099,
    "h": 118.4
  },
  "luminance": 0.31408
}

Semantic roles & 50–950 ramp

primary
#8EA12A
secondary
#7567C0
accent
#46E25F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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