Skip to content

#79af2f

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

RGB
121, 175, 47
HSL
85°, 58%, 44%
CMYK
31, 0, 73, 31
Luminance
0.3493

At a glance

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

Hex
#79af2f
Hue
85°
green
Saturation
58%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3493
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.99:1
Closest name
Yellow Green
ΔE2000 8.8
Where it sits
Hue85° of 360°
Saturation58%
Lightness44%
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#79af2f
RGBrgb(121, 175, 47)
HSLhsl(85, 58%, 44%)
CMYKcmyk(31%, 0%, 73%, 31%)
LABlab(65.7 -37.3 56.5)
LCHlch(65.7 67.7 123.5)
OKLCHoklch(0.692 0.165 130.0)
Decimal7974703
Display P3color(display-p3 0.475 0.686 0.184)

Copy-ready code

/* CSS */
color: #79af2f;
background-color: #79af2f;
/* Tailwind (arbitrary) */
class="text-[#79af2f] bg-[#79af2f]"
/* SCSS */
$brand: #79af2f;
/* SwiftUI */
Color(red: 0.475, green: 0.686, blue: 0.184)
/* Android */
Color.parseColor("#79af2f")
/* Flutter */
Color(0xFF79AF2F)
/* Python / OpenCV (BGR) */
(47, 175, 121)

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

Accessibility — WCAG contrast

Aa
#79af2f on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#79af2f on black: 7.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7A217
deuteranopia · #B09E3B
tritanopia · #7CA796

Color scale — 50 to 950

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

#F8FBF4
#F1F7E9
#E0EFCD
#CCE7A7
#B2DB7A
#99D04E
#85C134
#79af2f
#598123
#425E1D
#293B12
Base = 700Lightest = 50 · #F8FBF4Darkest = 950 · #293B12
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E9;
  --brand-200: #E0EFCD;
  --brand-300: #CCE7A7;
  --brand-400: #B2DB7A;
  --brand-500: #99D04E;
  --brand-600: #85C134;
  --brand-700: #79af2f;
  --brand-800: #598123;
  --brand-900: #425E1D;
  --brand-950: #293B12;
  --brand: #79af2f;
  --brand-ink: #000000;
}

Colors that work with #79af2f

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#799B4B
Captions on the surface
Accent#422AB3
Second voice, not a rival
Dark variant#46651B
Hover, pressed, headers
Light variant#F3FAEB
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 #79af2f

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#652FAF
Analogous left#AFA52F
Analogous right#39AF2F
Split-complement 1#2F39AF
Split-complement 2#A52FAF
Triadic 1#2F79AF
Triadic 2#AF2F79
Tetradic#2FAFA5

RGB percentages

Red47.5%
Green68.6%
Blue18.4%

CMYK percentages

Cyan30.9%
Magenta0.0%
Yellow73.1%
Key (black)31.4%

Color previews

#79af2f text on a black background

contrast 7.99:1

Card sample

#79af2f text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #79af2f;
Background color
Panel with #79af2f background
background-color: #79af2f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(121, 175, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 175, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #79af2f;
background: linear-gradient(135deg, #79af2f, #2FAF3A);

Monochromatic scale

Palettes built from #79af2f

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.

#79af2f 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.

#79af2f, answered

What color is #79af2f?

#79af2f is a dark vivid green, closest to Yellow Green (ΔE2000 8.8). It sits at 85° on the hue wheel with 58% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #79af2f?

rgb(121, 175, 47) — 121 red, 175 green and 47 blue out of 255, or 47.5% / 68.6% / 18.4% by channel.

Is #79af2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3493 and perceived brightness is 59%, so black text on it reaches 7.99:1.

Should I use black or white text on #79af2f?

Black. It scores 7.99:1 against #79af2f, versus 2.63:1 for white — AAA at any size.

What is the complementary color of #79af2f?

#652FAF sits directly opposite on the wheel. Softer options are the split-complements #2F39AF and #A52FAF, which give the same contrast with far less vibration.

What colors go well with #79af2f?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #422AB3 as an accent and #46651B for hover and pressed states. For a palette, the analogous pair #AFA52F and #39AF2F stays calm, while #652FAF is the loudest partner.

What is #79af2f in CMYK for printing?

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

Is #79af2f 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 #A8AF2F; nudged cooler, #49B12D.

Work with #79af2f in the Color Lab