Skip to content

#8eb511

a dark, electric green · warm · closest name: Yellow Green

RGB
142, 181, 17
HSL
74°, 83%, 39%
CMYK
22, 0, 91, 29
Luminance
0.3884

At a glance

Every number on this page in one read: what #8eb511 is made of, how bright it looks, and which way it leans.

Hex
#8eb511
Hue
74°
green
Saturation
83%
electric
Lightness
39%
dark
Brightness
71%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3884
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.77:1
Closest name
Yellow Green
ΔE2000 6.3
Where it sits
Hue74° of 360°
Saturation83%
Lightness39%
Temperature
Warm ← → Cool37% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#8eb511
RGBrgb(142, 181, 17)
HSLhsl(74, 83%, 39%)
CMYKcmyk(22%, 0%, 91%, 29%)
LABlab(68.6 -33.0 67.5)
LCHlch(68.6 75.1 116.0)
OKLCHoklch(0.719 0.174 123.9)
Decimal9352465
Display P3color(display-p3 0.557 0.710 0.067)

Copy-ready code

/* CSS */
color: #8eb511;
background-color: #8eb511;
/* Tailwind (arbitrary) */
class="text-[#8eb511] bg-[#8eb511]"
/* SCSS */
$brand: #8eb511;
/* SwiftUI */
Color(red: 0.557, green: 0.710, blue: 0.067)
/* Android */
Color.parseColor("#8eb511")
/* Flutter */
Color(0xFF8EB511)
/* Python / OpenCV (BGR) */
(17, 181, 142)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #8eb511 · 8.77:1
Use #000000AAA at every size.
Aa
White text · 2.40:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.77:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8eb511 as text scores 2.40:1 on white and 8.77:1 on black.

Accessibility — WCAG contrast

Aa
#8eb511 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#8eb511 on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0A900
deuteranopia · #BBA729
tritanopia · #96AB9A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8eb511 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFCF2
#F5FAE6
#EAF6C6
#DFF598
#CFF165
#BFEC32
#AFE015
#8eb511
#75950E
#566C0F
#354309
Base = 700Lightest = 50 · #FAFCF2Darkest = 950 · #354309
:root {
  --brand-50: #FAFCF2;
  --brand-100: #F5FAE6;
  --brand-200: #EAF6C6;
  --brand-300: #DFF598;
  --brand-400: #CFF165;
  --brand-500: #BFEC32;
  --brand-600: #AFE015;
  --brand-700: #8eb511;
  --brand-800: #75950E;
  --brand-900: #566C0F;
  --brand-950: #354309;
  --brand: #8eb511;
  --brand-ink: #000000;
}

Colors that work with #8eb511

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E2EDC0
Hairlines and dividers
Muted text#889B4B
Captions on the surface
Accent#0D0FB9
Second voice, not a rival
Dark variant#5B750B
Hover, pressed, headers
Light variant#F8FDE8
Selected rows, tints
Dark surface#202414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #8eb511

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#3811B5
Analogous left#B58A11
Analogous right#3CB511
Split-complement 1#113CB5
Split-complement 2#8A11B5
Triadic 1#118EB5
Triadic 2#B5118E
Tetradic#11B58A

RGB percentages

Red55.7%
Green71.0%
Blue6.7%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow90.6%
Key (black)29.0%

Color previews

#8eb511 text on a black background

contrast 8.77:1

Card sample

#8eb511 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8eb511;
Background color
Panel with #8eb511 background
background-color: #8eb511;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8eb511;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(142, 181, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 181, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8eb511;
background: linear-gradient(135deg, #8eb511, #21B511);

Monochromatic scale

Palettes built from #8eb511

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#8eb511 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#8eb511, answered

What color is #8eb511?

#8eb511 is a dark electric green, closest to Yellow Green (ΔE2000 6.3). It sits at 74° on the hue wheel with 83% saturation and 39% lightness, which reads as warm.

What is the RGB value of #8eb511?

rgb(142, 181, 17) — 142 red, 181 green and 17 blue out of 255, or 55.7% / 71% / 6.7% by channel.

Is #8eb511 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3884 and perceived brightness is 62%, so black text on it reaches 8.77:1.

Should I use black or white text on #8eb511?

Black. It scores 8.77:1 against #8eb511, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #8eb511?

#3811B5 sits directly opposite on the wheel. Softer options are the split-complements #113CB5 and #8A11B5, which give the same contrast with far less vibration.

What colors go well with #8eb511?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #889B4B for secondary text, #0D0FB9 as an accent and #5B750B for hover and pressed states. For a palette, the analogous pair #B58A11 and #3CB511 stays calm, while #3811B5 is the loudest partner.

What is #8eb511 in CMYK for printing?

cmyk(22%, 0%, 91%, 29%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #8eb511 warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B5A011; nudged cooler, #51B70F.

Work with #8eb511 in the Color Lab