Skip to content

#52af5c

a balanced, soft green · cool · closest name: Medium Sea Green

RGB
82, 175, 92
HSL
127°, 37%, 50%
CMYK
53, 0, 47, 31
Luminance
0.3323

At a glance

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

Hex
#52af5c
Hue
127°
green
Saturation
37%
soft
Lightness
50%
balanced
Brightness
69%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3323
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Soft
Best ink
Black
7.65:1
Closest name
Medium Sea Green
ΔE2000 4.8
Where it sits
Hue127° of 360°
Saturation37%
Lightness50%
Temperature
Warm ← → Cool65% 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#52af5c
RGBrgb(82, 175, 92)
HSLhsl(127, 37%, 50%)
CMYKcmyk(53%, 0%, 47%, 31%)
LABlab(64.3 -45.3 34.2)
LCHlch(64.3 56.8 142.9)
OKLCHoklch(0.677 0.148 145.8)
Decimal5418844
Display P3color(display-p3 0.322 0.686 0.361)

Copy-ready code

/* CSS */
color: #52af5c;
background-color: #52af5c;
/* Tailwind (arbitrary) */
class="text-[#52af5c] bg-[#52af5c]"
/* SCSS */
$brand: #52af5c;
/* SwiftUI */
Color(red: 0.322, green: 0.686, blue: 0.361)
/* Android */
Color.parseColor("#52af5c")
/* Flutter */
Color(0xFF52AF5C)
/* Python / OpenCV (BGR) */
(92, 175, 82)

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

Accessibility — WCAG contrast

Aa
#52af5c on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#52af5c on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B1A155
deuteranopia · #A59962
tritanopia · #42AB9B

Color scale — 50 to 950

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

#F5FAF6
#EBF4EC
#D3E9D5
#B2DCB7
#8CCA93
#66B86E
#52af5c
#408C49
#34703A
#28522D
#19331C
Base = 600Lightest = 50 · #F5FAF6Darkest = 950 · #19331C
:root {
  --brand-50: #F5FAF6;
  --brand-100: #EBF4EC;
  --brand-200: #D3E9D5;
  --brand-300: #B2DCB7;
  --brand-400: #8CCA93;
  --brand-500: #66B86E;
  --brand-600: #52af5c;
  --brand-700: #408C49;
  --brand-800: #34703A;
  --brand-900: #28522D;
  --brand-950: #19331C;
  --brand: #52af5c;
  --brand-ink: #000000;
}

Colors that work with #52af5c

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#F5FAF5
Tinted page background
Border#C7E5CA
Hairlines and dividers
Muted text#4B9B53
Captions on the surface
Accent#A64DB4
Second voice, not a rival
Dark variant#28572D
Hover, pressed, headers
Light variant#EEF7EF
Selected rows, tints
Dark surface#142415
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 #52af5c

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#AF52A5
Analogous left#76AF52
Analogous right#52AF8B
Split-complement 1#8B52AF
Split-complement 2#AF5276
Triadic 1#5C52AF
Triadic 2#AF5C52
Tetradic#5276AF

RGB percentages

Red32.2%
Green68.6%
Blue36.1%

CMYK percentages

Cyan53.1%
Magenta0.0%
Yellow47.4%
Key (black)31.4%

Color previews

#52af5c text on a black background

contrast 7.65:1

Card sample

#52af5c text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #52af5c;
Background color
Panel with #52af5c background
background-color: #52af5c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #52af5c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(82, 175, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 175, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #52af5c;
background: linear-gradient(135deg, #52af5c, #52AF9A);

Monochromatic scale

Palettes built from #52af5c

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.

#52af5c 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.

#52af5c, answered

What color is #52af5c?

#52af5c is a balanced soft green, closest to Medium Sea Green (ΔE2000 4.8). It sits at 127° on the hue wheel with 37% saturation and 50% lightness, which reads as cool.

What is the RGB value of #52af5c?

rgb(82, 175, 92) — 82 red, 175 green and 92 blue out of 255, or 32.2% / 68.6% / 36.1% by channel.

Is #52af5c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3323 and perceived brightness is 57%, so black text on it reaches 7.65:1.

Should I use black or white text on #52af5c?

Black. It scores 7.65:1 against #52af5c, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #52af5c?

#AF52A5 sits directly opposite on the wheel. Softer options are the split-complements #8B52AF and #AF5276, which give the same contrast with far less vibration.

What colors go well with #52af5c?

For interface work: #F5FAF5 as the surface, #C7E5CA for borders, #4B9B53 for secondary text, #A64DB4 as an accent and #28572D for hover and pressed states. For a palette, the analogous pair #76AF52 and #52AF8B stays calm, while #AF52A5 is the loudest partner.

What is #52af5c in CMYK for printing?

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

Is #52af5c warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6AAF52; nudged cooler, #4FB27E.

Work with #52af5c in the Color Lab