#8EA02A#8EA02A

#8EA02A is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.140 H 118.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8EA02A
RGBrgb(142, 160, 42)
HSLhsl(69, 58%, 40%)
HSVhsv(69, 74%, 63%)
CMYKcmyk(11.2%, 0%, 73.8%, 37.3%)
CIE-LABlab(62.56, -21.95, 55.66)
CIE-LCHlch(62.56, 59.83, 111.52°)
OKLaboklab(66.97% -0.0656 0.1235)
OKLCHoklch(66.97% 0.14 118)
XYZxyz(24.1446, 31.0598, 6.9132)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA02A #3C2AA0
analogous
#A0772A #8EA02A #53A02A
triadic
#8EA02A #2A8EA0 #A02A8E
tetradic
#8EA02A #2AA077 #3C2AA0 #A02A53
square
#8EA02A #2AA077 #3C2AA0 #A02A53
split-complementary
#8EA02A #2A53A0 #772AA0
monochromatic
#383F11 #63701D #8EA02A #B6CC3C #C8D86C

Accessibility & contrast

On white

2.91
#8EA02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8EA02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA02A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA02A#FFFFFF#000000##000000
##8EA02A1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9713
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#979789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea02a;
/* rgb */ color: rgb(142, 160, 42);
/* oklch */ color: oklch(67.0% 0.140 118.0);
Tailwind
colors: {
  custom: {
    50: '#b2bc6c',
    500: '#8ea02a',
    950: '#000000',
  },
}
SCSS
$custom: #8ea02a;
$custom-light: #b2bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea02a",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 69.153,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.13981,
    "h": 118
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#8EA02A
secondary
#7467BF
accent
#46E25E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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