Skip to content

#0a7521

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

RGB
10, 117, 33
HSL
133°, 84%, 25%
CMYK
92, 0, 72, 54
Luminance
0.1290

At a glance

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

Hex
#0a7521
Hue
133°
green
Saturation
84%
electric
Lightness
25%
deep
Brightness
46%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1290
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.87:1
Closest name
Green
ΔE2000 5.3
Where it sits
Hue133° of 360°
Saturation84%
Lightness25%
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#0a7521
RGBrgb(10, 117, 33)
HSLhsl(133, 84%, 25%)
CMYKcmyk(92%, 0%, 72%, 54%)
LABlab(42.6 -45.5 37.0)
LCHlch(42.6 58.6 140.8)
OKLCHoklch(0.490 0.149 145.2)
Decimal685345
Display P3color(display-p3 0.039 0.459 0.129)

Copy-ready code

/* CSS */
color: #0a7521;
background-color: #0a7521;
/* Tailwind (arbitrary) */
class="text-[#0a7521] bg-[#0a7521]"
/* SCSS */
$brand: #0a7521;
/* SwiftUI */
Color(red: 0.039, green: 0.459, blue: 0.129)
/* Android */
Color.parseColor("#0a7521")
/* Flutter */
Color(0xFF0A7521)
/* Python / OpenCV (BGR) */
(33, 117, 10)

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

Accessibility — WCAG contrast

Aa
#0a7521 on white: 5.87:1
AA ✓ pass · AA-large · AAA
Aa
#0a7521 on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #776915
deuteranopia · #6C6229
tritanopia · #007264

Color scale — 50 to 950

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

#F2FCF4
#E6FAEA
#C5F6D0
#98F6AC
#64F282
#30ED59
#13E240
#10BC35
#0D962A
#0a7521
#094415
Base = 900Lightest = 50 · #F2FCF4Darkest = 950 · #094415
:root {
  --brand-50: #F2FCF4;
  --brand-100: #E6FAEA;
  --brand-200: #C5F6D0;
  --brand-300: #98F6AC;
  --brand-400: #64F282;
  --brand-500: #30ED59;
  --brand-600: #13E240;
  --brand-700: #10BC35;
  --brand-800: #0D962A;
  --brand-900: #0a7521;
  --brand-950: #094415;
  --brand: #0a7521;
  --brand-ink: #ffffff;
}

Colors that work with #0a7521

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#C0EDC9
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#740778
Second voice, not a rival
Dark variant#0A7521
Hover, pressed, headers
Light variant#E8FDEC
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 #0a7521

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#750A5E
Analogous left#28750A
Analogous right#0A7557
Split-complement 1#570A75
Split-complement 2#750A28
Triadic 1#210A75
Triadic 2#75210A
Tetradic#0A2875

RGB percentages

Red3.9%
Green45.9%
Blue12.9%

CMYK percentages

Cyan91.5%
Magenta0.0%
Yellow71.8%
Key (black)54.1%

Color previews

#0a7521 text on a black background

contrast 3.58:1

Card sample

#0a7521 text on a white background

contrast 5.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0a7521

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.

#0a7521 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.

#0a7521, answered

What color is #0a7521?

#0a7521 is a deep electric green, closest to Green (ΔE2000 5.3). It sits at 133° on the hue wheel with 84% saturation and 25% lightness, which reads as cool.

What is the RGB value of #0a7521?

rgb(10, 117, 33) — 10 red, 117 green and 33 blue out of 255, or 3.9% / 45.9% / 12.9% by channel.

Is #0a7521 a light or a dark color?

It is a dark color. Relative luminance is 0.1290 and perceived brightness is 35%, so white text on it reaches 5.87:1.

Should I use black or white text on #0a7521?

White. It scores 5.87:1 against #0a7521, versus 3.58:1 for black — AA at any size.

What is the complementary color of #0a7521?

#750A5E sits directly opposite on the wheel. Softer options are the split-complements #570A75 and #750A28, which give the same contrast with far less vibration.

What colors go well with #0a7521?

For interface work: #F4FAF6 as the surface, #C0EDC9 for borders, #4B9B5C for secondary text, #740778 as an accent and #0A7521 for hover and pressed states. For a palette, the analogous pair #28750A and #0A7557 stays calm, while #750A5E is the loudest partner.

What is #0a7521 in CMYK for printing?

cmyk(92%, 0%, 72%, 54%). 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 #0a7521 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 #1A750A; nudged cooler, #097648.

Work with #0a7521 in the Color Lab