Skip to content

#7eb23f

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

RGB
126, 178, 63
HSL
87°, 48%, 47%
CMYK
29, 0, 65, 30
Luminance
0.3664

At a glance

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

Hex
#7eb23f
Hue
87°
green
Saturation
48%
vivid
Lightness
47%
balanced
Brightness
70%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3664
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.33:1
Closest name
Yellow Green
ΔE2000 8.4
Where it sits
Hue87° of 360°
Saturation48%
Lightness47%
Temperature
Warm ← → Cool48% 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#7eb23f
RGBrgb(126, 178, 63)
HSLhsl(87, 48%, 47%)
CMYKcmyk(29%, 0%, 65%, 30%)
LABlab(67.0 -35.6 51.6)
LCHlch(67.0 62.7 124.6)
OKLCHoklch(0.703 0.155 130.3)
Decimal8303167
Display P3color(display-p3 0.494 0.698 0.247)

Copy-ready code

/* CSS */
color: #7eb23f;
background-color: #7eb23f;
/* Tailwind (arbitrary) */
class="text-[#7eb23f] bg-[#7eb23f]"
/* SCSS */
$brand: #7eb23f;
/* SwiftUI */
Color(red: 0.494, green: 0.698, blue: 0.247)
/* Android */
Color.parseColor("#7eb23f")
/* Flutter */
Color(0xFF7EB23F)
/* Python / OpenCV (BGR) */
(63, 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 #7eb23f · 8.33:1
Use #000000AAA at every size.
Aa
White text · 2.52:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7eb23f as text scores 2.52:1 on white and 8.33:1 on black.

Accessibility — WCAG contrast

Aa
#7eb23f on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#7eb23f on black: 8.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA630
deuteranopia · #B3A248
tritanopia · #81AB9A

Color scale — 50 to 950

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

#F8FAF5
#F0F5EA
#DFECD0
#C9E2AC
#AFD383
#94C459
#7eb23f
#6B9735
#55792B
#405822
#283715
Base = 600Lightest = 50 · #F8FAF5Darkest = 950 · #283715
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F0F5EA;
  --brand-200: #DFECD0;
  --brand-300: #C9E2AC;
  --brand-400: #AFD383;
  --brand-500: #94C459;
  --brand-600: #7eb23f;
  --brand-700: #6B9735;
  --brand-800: #55792B;
  --brand-900: #405822;
  --brand-950: #283715;
  --brand: #7eb23f;
  --brand-ink: #000000;
}

Colors that work with #7eb23f

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#F8FAF4
Tinted page background
Border#D8EAC3
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#533AB7
Second voice, not a rival
Dark variant#435E21
Hover, pressed, headers
Light variant#F3F8EC
Selected rows, tints
Dark surface#1D2414
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 #7eb23f

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
  • 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
  • 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#733FB2
Analogous left#B2AD3F
Analogous right#45B23F
Split-complement 1#3F45B2
Split-complement 2#AD3FB2
Triadic 1#3F7EB2
Triadic 2#B23F7E
Tetradic#3FB2AD

RGB percentages

Red49.4%
Green69.8%
Blue24.7%

CMYK percentages

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

Color previews

#7eb23f text on a black background

contrast 8.33:1

Card sample

#7eb23f text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7eb23f

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.

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

#7eb23f, answered

What color is #7eb23f?

#7eb23f is a balanced vivid green, closest to Yellow Green (ΔE2000 8.4). It sits at 87° on the hue wheel with 48% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #7eb23f?

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

Is #7eb23f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3664 and perceived brightness is 60%, so black text on it reaches 8.33:1.

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

Black. It scores 8.33:1 against #7eb23f, versus 2.52:1 for white — AAA at any size.

What is the complementary color of #7eb23f?

#733FB2 sits directly opposite on the wheel. Softer options are the split-complements #3F45B2 and #AD3FB2, which give the same contrast with far less vibration.

What colors go well with #7eb23f?

For interface work: #F8FAF4 as the surface, #D8EAC3 for borders, #779B4B for secondary text, #533AB7 as an accent and #435E21 for hover and pressed states. For a palette, the analogous pair #B2AD3F and #45B23F stays calm, while #733FB2 is the loudest partner.

What is #7eb23f in CMYK for printing?

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

Is #7eb23f warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A8B23F; nudged cooler, #52B53D.

Work with #7eb23f in the Color Lab