#8EA12C#8EA12C

#8EA12C 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#8EA12C
RGBrgb(142, 161, 44)
HSLhsl(70, 57%, 40%)
HSVhsv(70, 73%, 63%)
CMYKcmyk(11.8%, 0%, 72.7%, 36.9%)
CIE-LABlab(62.86, -22.34, 55.23)
CIE-LCHlch(62.86, 59.58, 112.03°)
OKLaboklab(67.22% -0.0665 0.1229)
OKLCHoklch(67.22% 0.14 118.4)
XYZxyz(24.3553, 31.4226, 7.1645)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA12C #3F2CA1
analogous
#A17A2C #8EA12C #53A12C
triadic
#8EA12C #2C8EA1 #A12C8E
tetradic
#8EA12C #2CA17A #3F2CA1 #A12C53
square
#8EA12C #2CA17A #3F2CA1 #A12C53
split-complementary
#8EA12C #2C53A1 #7A2CA1
monochromatic
#394112 #64711F #8EA12C #B4CB40 #C7D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA12C#FFFFFF#000000##000000
##8EA12C1.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)
#AC9817
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea12c;
/* rgb */ color: rgb(142, 161, 44);
/* oklch */ color: oklch(67.2% 0.140 118.4);
Tailwind
colors: {
  custom: {
    50: '#b2bc6d',
    500: '#8ea12c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea12c;
$custom-light: #b2bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea12c",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 69.744,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.13974,
    "h": 118.4
  },
  "luminance": 0.31422
}

Semantic roles & 50–950 ramp

primary
#8EA12C
secondary
#786ABF
accent
#47E060
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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