Skip to content

#8eb71c

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

RGB
142, 183, 28
HSL
76°, 74%, 41%
CMYK
22, 0, 85, 28
Luminance
0.3970

At a glance

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

Hex
#8eb71c
Hue
76°
green
Saturation
74%
vivid
Lightness
41%
dark
Brightness
72%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3970
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.94:1
Closest name
Yellow Green
ΔE2000 5.7
Where it sits
Hue76° of 360°
Saturation74%
Lightness41%
Temperature
Warm ← → Cool38% 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#8eb71c
RGBrgb(142, 183, 28)
HSLhsl(76, 74%, 41%)
CMYKcmyk(22%, 0%, 85%, 28%)
LABlab(69.3 -33.6 65.8)
LCHlch(69.3 73.9 117.0)
OKLCHoklch(0.724 0.173 124.6)
Decimal9352988
Display P3color(display-p3 0.557 0.718 0.110)

Copy-ready code

/* CSS */
color: #8eb71c;
background-color: #8eb71c;
/* Tailwind (arbitrary) */
class="text-[#8eb71c] bg-[#8eb71c]"
/* SCSS */
$brand: #8eb71c;
/* SwiftUI */
Color(red: 0.557, green: 0.718, blue: 0.110)
/* Android */
Color.parseColor("#8eb71c")
/* Flutter */
Color(0xFF8EB71C)
/* Python / OpenCV (BGR) */
(28, 183, 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 #8eb71c · 8.94:1
Use #000000AAA at every size.
Aa
White text · 2.35:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.94:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8eb71c as text scores 2.35:1 on white and 8.94:1 on black.

Accessibility — WCAG contrast

Aa
#8eb71c on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#8eb71c on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AA00
deuteranopia · #BCA92F
tritanopia · #95AE9C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8eb71c 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.

#F9FCF3
#F4F8E7
#E8F3C8
#DAF09E
#C8E96D
#B6E13C
#A5D420
#8eb71c
#6E8E16
#516714
#32400C
Base = 700Lightest = 50 · #F9FCF3Darkest = 950 · #32400C
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F8E7;
  --brand-200: #E8F3C8;
  --brand-300: #DAF09E;
  --brand-400: #C8E96D;
  --brand-500: #B6E13C;
  --brand-600: #A5D420;
  --brand-700: #8eb71c;
  --brand-800: #6E8E16;
  --brand-900: #516714;
  --brand-950: #32400C;
  --brand: #8eb71c;
  --brand-ink: #000000;
}

Colors that work with #8eb71c

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#E1EDC0
Hairlines and dividers
Muted text#869B4B
Captions on the surface
Accent#1A18BB
Second voice, not a rival
Dark variant#566F11
Hover, pressed, headers
Light variant#F7FCE9
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 #8eb71c

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#451CB7
Analogous left#B7931C
Analogous right#40B71C
Split-complement 1#1C40B7
Split-complement 2#931CB7
Triadic 1#1C8EB7
Triadic 2#B71C8E
Tetradic#1CB793

RGB percentages

Red55.7%
Green71.8%
Blue11.0%

CMYK percentages

Cyan22.4%
Magenta0.0%
Yellow84.7%
Key (black)28.2%

Color previews

#8eb71c text on a black background

contrast 8.94:1

Card sample

#8eb71c text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 183, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 183, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8eb71c;
background: linear-gradient(135deg, #8eb71c, #27B71C);

Monochromatic scale

Palettes built from #8eb71c

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.

#8eb71c 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

Converts to four-color process without much drama. Proof it anyway.

#8eb71c, answered

What color is #8eb71c?

#8eb71c is a dark vivid green, closest to Yellow Green (ΔE2000 5.7). It sits at 76° on the hue wheel with 74% saturation and 41% lightness, which reads as warm.

What is the RGB value of #8eb71c?

rgb(142, 183, 28) — 142 red, 183 green and 28 blue out of 255, or 55.7% / 71.8% / 11% by channel.

Is #8eb71c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3970 and perceived brightness is 63%, so black text on it reaches 8.94:1.

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

Black. It scores 8.94:1 against #8eb71c, versus 2.35:1 for white — AAA at any size.

What is the complementary color of #8eb71c?

#451CB7 sits directly opposite on the wheel. Softer options are the split-complements #1C40B7 and #931CB7, which give the same contrast with far less vibration.

What colors go well with #8eb71c?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #869B4B for secondary text, #1A18BB as an accent and #566F11 for hover and pressed states. For a palette, the analogous pair #B7931C and #40B71C stays calm, while #451CB7 is the loudest partner.

What is #8eb71c in CMYK for printing?

cmyk(22%, 0%, 85%, 28%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8eb71c warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B7A71C; nudged cooler, #55B91A.

Work with #8eb71c in the Color Lab