#8EA42E

A color in the Yellow, Gold family

#8ea42e is a color in the Yellow, Gold family: RGB(142, 164, 46), HSL(71°, 56%, 41%), CMYK(13%, 0%, 72%, 36%). Closest named color: olivedrab. Contrast is 2.8:1 on white and 7.5:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8ea42e
RGBrgb(142 164 46)
RGB (legacy)rgb(142, 164, 46)
RGB %rgb(56% 64% 18%)
HSLhsl(71 56% 41%)
HSV / HSBhsv(71, 72%, 64%)
HWBhwb(71 18% 36%)
CMYKcmyk(13%, 0%, 72%, 36%)
CIELAB (D50)lab(64 -19.8 54.76)
LCHlch(64 58.23 109.88)
OKLaboklab(0.6794 -0.0702 0.1235)
OKLCHoklch(0.6794 0.1421 119.6)
Decimal9348142

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 8.2
Closest web-safe color#999933
Hue71°
Saturation (HSL / HSV)56% / 72%
Lightness (HSL)41%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)56% / 59%
Relative luminance (WCAG)0.325
Red / Green / Blue142 / 164 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.80:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 53.8 / -48.1 · As background with white / black text: Lc -59 / 50.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8ea42e;
  --color-brand-oklch: oklch(67.94% 0.1421 119.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(142 164 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8ea42e] text-[#8ea42e] border-[#8ea42e]">