Skip to content

#05af5b

a dark, electric green · cool · closest name: Medium Sea Green

RGB
5, 175, 91
HSL
150°, 94%, 35%
CMYK
97, 0, 48, 31
Luminance
0.3145

At a glance

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

Hex
#05af5b
Hue
150°
green
Saturation
94%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3145
WCAG relative
Temperature
Cool
75/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.29:1
Closest name
Medium Sea Green
ΔE2000 4
Where it sits
Hue150° of 360°
Saturation94%
Lightness35%
Temperature
Warm ← → Cool75% 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#05af5b
RGBrgb(5, 175, 91)
HSLhsl(150, 94%, 35%)
CMYKcmyk(97%, 0%, 48%, 31%)
LABlab(62.9 -56.8 32.6)
LCHlch(62.9 65.5 150.1)
OKLCHoklch(0.661 0.172 152.3)
Decimal372571
Display P3color(display-p3 0.020 0.686 0.357)

Copy-ready code

/* CSS */
color: #05af5b;
background-color: #05af5b;
/* Tailwind (arbitrary) */
class="text-[#05af5b] bg-[#05af5b]"
/* SCSS */
$brand: #05af5b;
/* SwiftUI */
Color(red: 0.020, green: 0.686, blue: 0.357)
/* Android */
Color.parseColor("#05af5b")
/* Flutter */
Color(0xFF05AF5B)
/* Python / OpenCV (BGR) */
(91, 175, 5)

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

Accessibility — WCAG contrast

Aa
#05af5b on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#05af5b on black: 7.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AF9F54
deuteranopia · #9F9361
tritanopia · #00AC9B

Color scale — 50 to 950

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

#F2FDF7
#E4FBF0
#C2FADE
#92FCC8
#5BFAAC
#25F990
#07EE7C
#06C667
#05af5b
#08723E
#054727
Base = 800Lightest = 50 · #F2FDF7Darkest = 950 · #054727
:root {
  --brand-50: #F2FDF7;
  --brand-100: #E4FBF0;
  --brand-200: #C2FADE;
  --brand-300: #92FCC8;
  --brand-400: #5BFAAC;
  --brand-500: #25F990;
  --brand-600: #07EE7C;
  --brand-700: #06C667;
  --brand-800: #05af5b;
  --brand-900: #08723E;
  --brand-950: #054727;
  --brand: #05af5b;
  --brand-ink: #000000;
}

Colors that work with #05af5b

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#F4FAF7
Tinted page background
Border#C0EDD6
Hairlines and dividers
Muted text#4B9B73
Captions on the surface
Accent#B30185
Second voice, not a rival
Dark variant#047C41
Hover, pressed, headers
Light variant#E6FEF2
Selected rows, tints
Dark surface#14241C
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 #05af5b

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#AF0559
Analogous left#05AF06
Analogous right#05AEAF
Split-complement 1#AF05AE
Split-complement 2#AF0605
Triadic 1#5B05AF
Triadic 2#AF5B05
Tetradic#0605AF

RGB percentages

Red2.0%
Green68.6%
Blue35.7%

CMYK percentages

Cyan97.1%
Magenta0.0%
Yellow48.0%
Key (black)31.4%

Color previews

#05af5b text on a black background

contrast 7.29:1

Card sample

#05af5b text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #05af5b;
Background color
Panel with #05af5b background
background-color: #05af5b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #05af5b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(5, 175, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 175, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #05af5b;
background: linear-gradient(135deg, #05af5b, #0592AF);

Monochromatic scale

Palettes built from #05af5b

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.

#05af5b 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.

#05af5b, answered

What color is #05af5b?

#05af5b is a dark electric green, closest to Medium Sea Green (ΔE2000 4). It sits at 150° on the hue wheel with 94% saturation and 35% lightness, which reads as cool.

What is the RGB value of #05af5b?

rgb(5, 175, 91) — 5 red, 175 green and 91 blue out of 255, or 2% / 68.6% / 35.7% by channel.

Is #05af5b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3145 and perceived brightness is 54%, so black text on it reaches 7.29:1.

Should I use black or white text on #05af5b?

Black. It scores 7.29:1 against #05af5b, versus 2.88:1 for white — AAA at any size.

What is the complementary color of #05af5b?

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

What colors go well with #05af5b?

For interface work: #F4FAF7 as the surface, #C0EDD6 for borders, #4B9B73 for secondary text, #B30185 as an accent and #047C41 for hover and pressed states. For a palette, the analogous pair #05AF06 and #05AEAF stays calm, while #AF0559 is the loudest partner.

What is #05af5b in CMYK for printing?

cmyk(97%, 0%, 48%, 31%). 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 #05af5b warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #05AF1D; nudged cooler, #03B19B.

Work with #05af5b in the Color Lab