Skip to content

#06a521

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

RGB
6, 165, 33
HSL
130°, 93%, 34%
CMYK
96, 0, 80, 35
Luminance
0.2706

At a glance

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

Hex
#06a521
Hue
130°
green
Saturation
93%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2706
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.41:1
Closest name
Forest Green
ΔE2000 8.6
Where it sits
Hue130° of 360°
Saturation93%
Lightness34%
Temperature
Warm ← → Cool67% 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#06a521
RGBrgb(6, 165, 33)
HSLhsl(130, 93%, 34%)
CMYKcmyk(96%, 0%, 80%, 35%)
LABlab(59.0 -60.6 53.5)
LCHlch(59.0 80.8 138.5)
OKLCHoklch(0.627 0.203 143.8)
Decimal435489
Display P3color(display-p3 0.024 0.647 0.129)

Copy-ready code

/* CSS */
color: #06a521;
background-color: #06a521;
/* Tailwind (arbitrary) */
class="text-[#06a521] bg-[#06a521]"
/* SCSS */
$brand: #06a521;
/* SwiftUI */
Color(red: 0.024, green: 0.647, blue: 0.129)
/* Android */
Color.parseColor("#06a521")
/* Flutter */
Color(0xFF06A521)
/* Python / OpenCV (BGR) */
(33, 165, 6)

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 #06a521 · 6.41:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.28:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.41:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #06a521 as text scores 3.28:1 on white and 6.41:1 on black.

Accessibility — WCAG contrast

Aa
#06a521 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#06a521 on black: 6.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A89400
deuteranopia · #9A8A31
tritanopia · #00A08D

Color scale — 50 to 950

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

#F2FDF4
#E4FBE8
#C2F9CC
#93FBA4
#5DF977
#26F74A
#09EC2F
#07C527
#06a521
#09721B
#064711
Base = 800Lightest = 50 · #F2FDF4Darkest = 950 · #064711
:root {
  --brand-50: #F2FDF4;
  --brand-100: #E4FBE8;
  --brand-200: #C2F9CC;
  --brand-300: #93FBA4;
  --brand-400: #5DF977;
  --brand-500: #26F74A;
  --brand-600: #09EC2F;
  --brand-700: #07C527;
  --brand-800: #06a521;
  --brand-900: #09721B;
  --brand-950: #064711;
  --brand: #06a521;
  --brand-ink: #000000;
}

Colors that work with #06a521

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B58
Captions on the surface
Accent#9B03A8
Second voice, not a rival
Dark variant#047B19
Hover, pressed, headers
Light variant#E6FEEA
Selected rows, tints
Dark surface#142416
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 #06a521

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#A5068A
Analogous left#3AA506
Analogous right#06A570
Split-complement 1#7006A5
Split-complement 2#A5063A
Triadic 1#2106A5
Triadic 2#A52106
Tetradic#063AA5

RGB percentages

Red2.4%
Green64.7%
Blue12.9%

CMYK percentages

Cyan96.4%
Magenta0.0%
Yellow80.0%
Key (black)35.3%

Color previews

#06a521 text on a black background

contrast 6.41:1

Card sample

#06a521 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(6, 165, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 165, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #06a521;
background: linear-gradient(135deg, #06a521, #06A58B);

Monochromatic scale

Palettes built from #06a521

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.

#06a521 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.

#06a521, answered

What color is #06a521?

#06a521 is a dark electric green, closest to Forest Green (ΔE2000 8.6). It sits at 130° on the hue wheel with 93% saturation and 34% lightness, which reads as cool.

What is the RGB value of #06a521?

rgb(6, 165, 33) — 6 red, 165 green and 33 blue out of 255, or 2.4% / 64.7% / 12.9% by channel.

Is #06a521 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2706 and perceived brightness is 50%, so black text on it reaches 6.41:1.

Should I use black or white text on #06a521?

Black. It scores 6.41:1 against #06a521, versus 3.28:1 for white — AA at any size.

What is the complementary color of #06a521?

#A5068A sits directly opposite on the wheel. Softer options are the split-complements #7006A5 and #A5063A, which give the same contrast with far less vibration.

What colors go well with #06a521?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #9B03A8 as an accent and #047B19 for hover and pressed states. For a palette, the analogous pair #3AA506 and #06A570 stays calm, while #A5068A is the loudest partner.

What is #06a521 in CMYK for printing?

cmyk(96%, 0%, 80%, 35%). 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 #06a521 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #25A506; nudged cooler, #04A75B.

Work with #06a521 in the Color Lab