Skip to content

#7eb233

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

RGB
126, 178, 51
HSL
85°, 56%, 45%
CMYK
29, 0, 71, 30
Luminance
0.3652

At a glance

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

Hex
#7eb233
Hue
85°
green
Saturation
56%
vivid
Lightness
45%
dark
Brightness
70%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3652
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.30:1
Closest name
Yellow Green
ΔE2000 7.9
Where it sits
Hue85° of 360°
Saturation56%
Lightness45%
Temperature
Warm ← → Cool46% 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#7eb233
RGBrgb(126, 178, 51)
HSLhsl(85, 56%, 45%)
CMYKcmyk(29%, 0%, 71%, 30%)
LABlab(66.9 -36.5 56.3)
LCHlch(66.9 67.1 123.0)
OKLCHoklch(0.702 0.164 129.3)
Decimal8303155
Display P3color(display-p3 0.494 0.698 0.200)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7eb233 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#7eb233 on black: 8.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA51D
deuteranopia · #B3A23E
tritanopia · #82AA99

Color scale — 50 to 950

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

#F8FBF4
#F1F6E9
#E1EECE
#CDE6A8
#B3DA7C
#9ACD51
#7eb233
#709F2D
#5A7F24
#435C1E
#2A3A13
Base = 600Lightest = 50 · #F8FBF4Darkest = 950 · #2A3A13
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F6E9;
  --brand-200: #E1EECE;
  --brand-300: #CDE6A8;
  --brand-400: #B3DA7C;
  --brand-500: #9ACD51;
  --brand-600: #7eb233;
  --brand-700: #709F2D;
  --brand-800: #5A7F24;
  --brand-900: #435C1E;
  --brand-950: #2A3A13;
  --brand: #7eb233;
  --brand-ink: #000000;
}

Colors that work with #7eb233

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#DAEDC0
Hairlines and dividers
Muted text#7A9B4B
Captions on the surface
Accent#442EB7
Second voice, not a rival
Dark variant#46631C
Hover, pressed, headers
Light variant#F4F9EB
Selected rows, tints
Dark surface#1E2414
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 #7eb233

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#6733B2
Analogous left#B2A733
Analogous right#3EB233
Split-complement 1#333EB2
Split-complement 2#A733B2
Triadic 1#337EB2
Triadic 2#B2337E
Tetradic#33B2A7

RGB percentages

Red49.4%
Green69.8%
Blue20.0%

CMYK percentages

Cyan29.2%
Magenta0.0%
Yellow71.3%
Key (black)30.2%

Color previews

#7eb233 text on a black background

contrast 8.30:1

Card sample

#7eb233 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7eb233

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.

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

#7eb233, answered

What color is #7eb233?

#7eb233 is a dark vivid green, closest to Yellow Green (ΔE2000 7.9). It sits at 85° on the hue wheel with 56% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #7eb233?

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

Is #7eb233 a light or a dark color?

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

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

Black. It scores 8.30:1 against #7eb233, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #7eb233?

#6733B2 sits directly opposite on the wheel. Softer options are the split-complements #333EB2 and #A733B2, which give the same contrast with far less vibration.

What colors go well with #7eb233?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #7A9B4B for secondary text, #442EB7 as an accent and #46631C for hover and pressed states. For a palette, the analogous pair #B2A733 and #3EB233 stays calm, while #6733B2 is the loudest partner.

What is #7eb233 in CMYK for printing?

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

Is #7eb233 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ADB233; nudged cooler, #4EB431.

Work with #7eb233 in the Color Lab