Skip to content

#7da521

a dark, vivid green · warm · closest name: Olive Drab

RGB
125, 165, 33
HSL
78°, 67%, 39%
CMYK
24, 0, 80, 35
Luminance
0.3138

At a glance

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

Hex
#7da521
Hue
78°
green
Saturation
67%
vivid
Lightness
39%
dark
Brightness
65%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3138
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.28:1
Closest name
Olive Drab
ΔE2000 7.8
Where it sits
Hue78° of 360°
Saturation67%
Lightness39%
Temperature
Warm ← → Cool40% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#7da521
RGBrgb(125, 165, 33)
HSLhsl(78, 67%, 39%)
CMYKcmyk(24%, 0%, 80%, 35%)
LABlab(62.8 -31.9 58.4)
LCHlch(62.8 66.6 118.6)
OKLCHoklch(0.669 0.158 125.8)
Decimal8234273
Display P3color(display-p3 0.490 0.647 0.129)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#7da521 on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#7da521 on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AE9900
deuteranopia · #A9972F
tritanopia · #839D8D

Color scale — 50 to 950

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

#F9FBF3
#F3F8E8
#E6F1CA
#D6ECA1
#C1E373
#ACDA44
#9BCC29
#7da521
#67881B
#4C6318
#2F3E0F
Base = 700Lightest = 50 · #F9FBF3Darkest = 950 · #2F3E0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F3F8E8;
  --brand-200: #E6F1CA;
  --brand-300: #D6ECA1;
  --brand-400: #C1E373;
  --brand-500: #ACDA44;
  --brand-600: #9BCC29;
  --brand-700: #7da521;
  --brand-800: #67881B;
  --brand-900: #4C6318;
  --brand-950: #2F3E0F;
  --brand: #7da521;
  --brand-ink: #000000;
}

Colors that work with #7da521

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#F9FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#241DA9
Second voice, not a rival
Dark variant#506A15
Hover, pressed, headers
Light variant#F6FBEA
Selected rows, tints
Dark surface#1F2414
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 #7da521

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#4921A5
Analogous left#A58B21
Analogous right#3BA521
Split-complement 1#213BA5
Split-complement 2#8B21A5
Triadic 1#217DA5
Triadic 2#A5217D
Tetradic#21A58B

RGB percentages

Red49.0%
Green64.7%
Blue12.9%

CMYK percentages

Cyan24.2%
Magenta0.0%
Yellow80.0%
Key (black)35.3%

Color previews

#7da521 text on a black background

contrast 7.28:1

Card sample

#7da521 text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 165, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 165, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7da521;
background: linear-gradient(135deg, #7da521, #25A521);

Monochromatic scale

Palettes built from #7da521

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.

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

#7da521, answered

What color is #7da521?

#7da521 is a dark vivid green, closest to Olive Drab (ΔE2000 7.8). It sits at 78° on the hue wheel with 67% saturation and 39% lightness, which reads as warm.

What is the RGB value of #7da521?

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

Is #7da521 a light or a dark color?

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

Should I use black or white text on #7da521?

Black. It scores 7.28:1 against #7da521, versus 2.89:1 for white — AAA at any size.

What is the complementary color of #7da521?

#4921A5 sits directly opposite on the wheel. Softer options are the split-complements #213BA5 and #8B21A5, which give the same contrast with far less vibration.

What colors go well with #7da521?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #241DA9 as an accent and #506A15 for hover and pressed states. For a palette, the analogous pair #A58B21 and #3BA521 stays calm, while #4921A5 is the loudest partner.

What is #7da521 in CMYK for printing?

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

Is #7da521 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A59D21; nudged cooler, #4CA71F.

Work with #7da521 in the Color Lab