Skip to content

#058321

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

RGB
5, 131, 33
HSL
133°, 93%, 27%
CMYK
96, 0, 75, 49
Luminance
0.1637

At a glance

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

Hex
#058321
Hue
133°
green
Saturation
93%
electric
Lightness
27%
dark
Brightness
51%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1637
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
White
4.91:1
Closest name
Green
ΔE2000 2.8
Where it sits
Hue133° of 360°
Saturation93%
Lightness27%
Temperature
Warm ← → Cool68% 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#058321
RGBrgb(5, 131, 33)
HSLhsl(133, 93%, 27%)
CMYKcmyk(96%, 0%, 75%, 49%)
LABlab(47.5 -50.4 42.1)
LCHlch(47.5 65.6 140.1)
OKLCHoklch(0.531 0.166 144.8)
Decimal361249
Display P3color(display-p3 0.020 0.514 0.129)

Copy-ready code

/* CSS */
color: #058321;
background-color: #058321;
/* Tailwind (arbitrary) */
class="text-[#058321] bg-[#058321]"
/* SCSS */
$brand: #058321;
/* SwiftUI */
Color(red: 0.020, green: 0.514, blue: 0.129)
/* Android */
Color.parseColor("#058321")
/* Flutter */
Color(0xFF058321)
/* Python / OpenCV (BGR) */
(33, 131, 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#ffffff on #058321 · 4.91:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.91:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.27:1
AA fail · AA large pass · AAA fail
Reading the other direction: #058321 as text scores 4.91:1 on white and 4.27:1 on black.

Accessibility — WCAG contrast

Aa
#058321 on white: 4.91:1
AA ✓ pass · AA-large · AAA
Aa
#058321 on black: 4.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #857610
deuteranopia · #796D2B
tritanopia · #007F70

Color scale — 50 to 950

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

#F2FDF4
#E4FBE9
#C2F9CF
#93FBAA
#5DF97F
#27F755
#09EC3B
#08C431
#069D28
#058321
#064714
Base = 900Lightest = 50 · #F2FDF4Darkest = 950 · #064714
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E4FBE9;
  --brand-200: #C2F9CF;
  --brand-300: #93FBAA;
  --brand-400: #5DF97F;
  --brand-500: #27F755;
  --brand-600: #09EC3B;
  --brand-700: #08C431;
  --brand-800: #069D28;
  --brand-900: #058321;
  --brand-950: #064714;
  --brand: #058321;
  --brand-ink: #ffffff;
}

Colors that work with #058321

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4FAF6
Tinted page background
Border#C0EDCA
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#820286
Second voice, not a rival
Dark variant#057B1F
Hover, pressed, headers
Light variant#E6FEEC
Selected rows, tints
Dark surface#142417
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 #058321

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • 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
  • 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#830567
Analogous left#288305
Analogous right#058360
Split-complement 1#600583
Split-complement 2#830528
Triadic 1#210583
Triadic 2#832105
Tetradic#052883

RGB percentages

Red2.0%
Green51.4%
Blue12.9%

CMYK percentages

Cyan96.2%
Magenta0.0%
Yellow74.8%
Key (black)48.6%

Color previews

#058321 text on a black background

contrast 4.27:1

Card sample

#058321 text on a white background

contrast 4.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 131, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 131, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #058321;
background: linear-gradient(135deg, #058321, #058375);

Monochromatic scale

Palettes built from #058321

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.

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

#058321, answered

What color is #058321?

#058321 is a dark electric green, closest to Green (ΔE2000 2.8). It sits at 133° on the hue wheel with 93% saturation and 27% lightness, which reads as cool.

What is the RGB value of #058321?

rgb(5, 131, 33) — 5 red, 131 green and 33 blue out of 255, or 2% / 51.4% / 12.9% by channel.

Is #058321 a light or a dark color?

It is a dark color. Relative luminance is 0.1637 and perceived brightness is 40%, so white text on it reaches 4.91:1.

Should I use black or white text on #058321?

White. It scores 4.91:1 against #058321, versus 4.27:1 for black — AA at any size.

What is the complementary color of #058321?

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

What colors go well with #058321?

For interface work: #F4FAF6 as the surface, #C0EDCA for borders, #4B9B5C for secondary text, #820286 as an accent and #057B1F for hover and pressed states. For a palette, the analogous pair #288305 and #058360 stays calm, while #830567 is the loudest partner.

What is #058321 in CMYK for printing?

cmyk(96%, 0%, 75%, 49%). 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 #058321 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #178305; nudged cooler, #04844F.

Work with #058321 in the Color Lab