Skip to content

#7eb24f

a balanced, soft green · neutral · closest name: Yellow Green

RGB
126, 178, 79
HSL
92°, 39%, 50%
CMYK
29, 0, 56, 30
Luminance
0.3684

At a glance

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

Hex
#7eb24f
Hue
92°
green
Saturation
39%
soft
Lightness
50%
balanced
Brightness
70%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3684
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Soft
Best ink
Black
8.37:1
Closest name
Yellow Green
ΔE2000 9.7
Where it sits
Hue92° of 360°
Saturation39%
Lightness50%
Temperature
Warm ← → Cool51% cool

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

Every format

HEX#7eb24f
RGBrgb(126, 178, 79)
HSLhsl(92, 39%, 50%)
CMYKcmyk(29%, 0%, 56%, 30%)
LABlab(67.2 -34.1 44.5)
LCHlch(67.2 56.1 127.5)
OKLCHoklch(0.705 0.142 132.1)
Decimal8303183
Display P3color(display-p3 0.494 0.698 0.310)

Copy-ready code

/* CSS */
color: #7eb24f;
background-color: #7eb24f;
/* Tailwind (arbitrary) */
class="text-[#7eb24f] bg-[#7eb24f]"
/* SCSS */
$brand: #7eb24f;
/* SwiftUI */
Color(red: 0.494, green: 0.698, blue: 0.310)
/* Android */
Color.parseColor("#7eb24f")
/* Flutter */
Color(0xFF7EB24F)
/* Python / OpenCV (BGR) */
(79, 178, 126)

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 #7eb24f · 8.37:1
Use #000000AAA at every size.
Aa
White text · 2.51:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.37:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7eb24f as text scores 2.51:1 on white and 8.37:1 on black.

Accessibility — WCAG contrast

Aa
#7eb24f on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#7eb24f on black: 8.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9A645
deuteranopia · #B1A256
tritanopia · #7FAB9C

Color scale — 50 to 950

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

#F7FAF5
#EFF4EB
#DDE9D2
#C6DDB1
#A9CC8A
#8DBB63
#7eb24f
#648E3E
#507232
#3C5327
#263418
Base = 600Lightest = 50 · #F7FAF5Darkest = 950 · #263418
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EFF4EB;
  --brand-200: #DDE9D2;
  --brand-300: #C6DDB1;
  --brand-400: #A9CC8A;
  --brand-500: #8DBB63;
  --brand-600: #7eb24f;
  --brand-700: #648E3E;
  --brand-800: #507232;
  --brand-900: #3C5327;
  --brand-950: #263418;
  --brand: #7eb24f;
  --brand-ink: #000000;
}

Colors that work with #7eb24f

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#F7FAF4
Tinted page background
Border#D5E6C6
Hairlines and dividers
Muted text#719B4B
Captions on the surface
Accent#684AB7
Second voice, not a rival
Dark variant#3F5927
Hover, pressed, headers
Light variant#F2F7ED
Selected rows, tints
Dark surface#1C2414
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 #7eb24f

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#834FB2
Analogous left#B0B24F
Analogous right#4FB252
Split-complement 1#524FB2
Split-complement 2#B24FB0
Triadic 1#4F7EB2
Triadic 2#B24F7E
Tetradic#4FB0B2

RGB percentages

Red49.4%
Green69.8%
Blue31.0%

CMYK percentages

Cyan29.2%
Magenta0.0%
Yellow55.6%
Key (black)30.2%

Color previews

#7eb24f text on a black background

contrast 8.37:1

Card sample

#7eb24f text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7eb24f;
Background color
Panel with #7eb24f background
background-color: #7eb24f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 178, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 178, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb24f;
background: linear-gradient(135deg, #7eb24f, #4FB262);

Monochromatic scale

Palettes built from #7eb24f

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.

#7eb24f 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.

#7eb24f, answered

What color is #7eb24f?

#7eb24f is a balanced soft green, closest to Yellow Green (ΔE2000 9.7). It sits at 92° on the hue wheel with 39% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #7eb24f?

rgb(126, 178, 79) — 126 red, 178 green and 79 blue out of 255, or 49.4% / 69.8% / 31% by channel.

Is #7eb24f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3684 and perceived brightness is 61%, so black text on it reaches 8.37:1.

Should I use black or white text on #7eb24f?

Black. It scores 8.37:1 against #7eb24f, versus 2.51:1 for white — AAA at any size.

What is the complementary color of #7eb24f?

#834FB2 sits directly opposite on the wheel. Softer options are the split-complements #524FB2 and #B24FB0, which give the same contrast with far less vibration.

What colors go well with #7eb24f?

For interface work: #F7FAF4 as the surface, #D5E6C6 for borders, #719B4B for secondary text, #684AB7 as an accent and #3F5927 for hover and pressed states. For a palette, the analogous pair #B0B24F and #4FB252 stays calm, while #834FB2 is the loudest partner.

What is #7eb24f in CMYK for printing?

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

Is #7eb24f warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A2B24F; nudged cooler, #58B54D.

Work with #7eb24f in the Color Lab