Skip to content

#4af97d

a balanced, electric green · cool · closest name: Spring Green

RGB
74, 249, 125
HSL
138°, 94%, 63%
CMYK
70, 0, 50, 2
Luminance
0.7069

At a glance

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

Hex
#4af97d
Hue
138°
green
Saturation
94%
electric
Lightness
63%
balanced
Brightness
98%
HSV value
Perceived
78%
weighted brightness
Luminance
0.7069
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.14:1
Closest name
Spring Green
ΔE2000 2
Where it sits
Hue138° of 360°
Saturation94%
Lightness63%
Temperature
Warm ← → Cool70% cool

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

Every format

HEX#4af97d
RGBrgb(74, 249, 125)
HSLhsl(138, 94%, 63%)
CMYKcmyk(70%, 0%, 50%, 2%)
LABlab(87.3 -69.5 46.7)
LCHlch(87.3 83.7 146.1)
OKLCHoklch(0.867 0.218 148.8)
Decimal4913533
Display P3color(display-p3 0.290 0.976 0.490)

Copy-ready code

/* CSS */
color: #4af97d;
background-color: #4af97d;
/* Tailwind (arbitrary) */
class="text-[#4af97d] bg-[#4af97d]"
/* SCSS */
$brand: #4af97d;
/* SwiftUI */
Color(red: 0.290, green: 0.976, blue: 0.490)
/* Android */
Color.parseColor("#4af97d")
/* Flutter */
Color(0xFF4AF97D)
/* Python / OpenCV (BGR) */
(125, 249, 74)

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

Accessibility — WCAG contrast

Aa
#4af97d on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#4af97d on black: 15.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE473
deuteranopia · #E6D586
tritanopia · #00F4DC

Color scale — 50 to 950

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

#F2FDF5
#E4FBEB
#C2FAD2
#92FBB1
#4af97d
#26F863
#08ED4B
#07C53E
#059E32
#087227
#054719
Base = 400Lightest = 50 · #F2FDF5Darkest = 950 · #054719
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E4FBEB;
  --brand-200: #C2FAD2;
  --brand-300: #92FBB1;
  --brand-400: #4af97d;
  --brand-500: #26F863;
  --brand-600: #08ED4B;
  --brand-700: #07C53E;
  --brand-800: #059E32;
  --brand-900: #087227;
  --brand-950: #054719;
  --brand: #4af97d;
  --brand-ink: #000000;
}

Colors that work with #4af97d

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#F4FAF6
Tinted page background
Border#C0EDCD
Hairlines and dividers
Muted text#4B9B62
Captions on the surface
Accent#CA02C1
Second voice, not a rival
Dark variant#047B27
Hover, pressed, headers
Light variant#E6FEED
Selected rows, tints
Dark surface#142419
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 #4af97d

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#F94AC6
Analogous left#6EF94A
Analogous right#4AF9D5
Split-complement 1#D54AF9
Split-complement 2#F94A6E
Triadic 1#7D4AF9
Triadic 2#F97D4A
Tetradic#4A6EF9

RGB percentages

Red29.0%
Green97.6%
Blue49.0%

CMYK percentages

Cyan70.3%
Magenta0.0%
Yellow49.8%
Key (black)2.4%

Color previews

#4af97d text on a black background

contrast 15.14:1

Card sample

#4af97d text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4af97d;
Background color
Panel with #4af97d background
background-color: #4af97d;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 249, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 249, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4af97d;
background: linear-gradient(135deg, #4af97d, #4AF9F2);

Monochromatic scale

Palettes built from #4af97d

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.

#4af97d 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4af97d, answered

What color is #4af97d?

#4af97d is a balanced electric green, closest to Spring Green (ΔE2000 2). It sits at 138° on the hue wheel with 94% saturation and 63% lightness, which reads as cool.

What is the RGB value of #4af97d?

rgb(74, 249, 125) — 74 red, 249 green and 125 blue out of 255, or 29% / 97.6% / 49% by channel.

Is #4af97d a light or a dark color?

It is a light color. Relative luminance is 0.7069 and perceived brightness is 78%, so black text on it reaches 15.14:1.

Should I use black or white text on #4af97d?

Black. It scores 15.14:1 against #4af97d, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #4af97d?

#F94AC6 sits directly opposite on the wheel. Softer options are the split-complements #D54AF9 and #F94A6E, which give the same contrast with far less vibration.

What colors go well with #4af97d?

For interface work: #F4FAF6 as the surface, #C0EDCD for borders, #4B9B62 for secondary text, #CA02C1 as an accent and #047B27 for hover and pressed states. For a palette, the analogous pair #6EF94A and #4AF9D5 stays calm, while #F94AC6 is the loudest partner.

What is #4af97d in CMYK for printing?

cmyk(70%, 0%, 50%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4af97d warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #57F94A; nudged cooler, #48FBBE.

Work with #4af97d in the Color Lab