Skip to content

#125e21

a deep, vivid green · cool · closest name: Dark Green

RGB
18, 94, 33
HSL
132°, 68%, 22%
CMYK
81, 0, 65, 63
Luminance
0.0824

At a glance

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

Hex
#125e21
Hue
132°
green
Saturation
68%
vivid
Lightness
22%
deep
Brightness
37%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0824
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.93:1
Closest name
Dark Green
ΔE2000 5.3
Where it sits
Hue132° of 360°
Saturation68%
Lightness22%
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#125e21
RGBrgb(18, 94, 33)
HSLhsl(132, 68%, 22%)
CMYKcmyk(81%, 0%, 65%, 63%)
LABlab(34.5 -36.4 28.1)
LCHlch(34.5 45.9 142.3)
OKLCHoklch(0.423 0.118 146.0)
Decimal1203745
Display P3color(display-p3 0.071 0.369 0.129)

Copy-ready code

/* CSS */
color: #125e21;
background-color: #125e21;
/* Tailwind (arbitrary) */
class="text-[#125e21] bg-[#125e21]"
/* SCSS */
$brand: #125e21;
/* SwiftUI */
Color(red: 0.071, green: 0.369, blue: 0.129)
/* Android */
Color.parseColor("#125e21")
/* Flutter */
Color(0xFF125E21)
/* Python / OpenCV (BGR) */
(33, 94, 18)

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

Accessibility — WCAG contrast

Aa
#125e21 on white: 7.93:1
AA ✓ pass · AA-large · AAA
Aa
#125e21 on black: 2.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F551A
deuteranopia · #574F26
tritanopia · #005C51

Color scale — 50 to 950

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

#F3FBF5
#E8F8EB
#CAF2D2
#A1EDB0
#72E488
#43DB61
#27CE48
#21AB3C
#1A8930
#125e21
#0E3E18
Base = 900Lightest = 50 · #F3FBF5Darkest = 950 · #0E3E18
:root {
  --brand-50: #F3FBF5;
  --brand-100: #E8F8EB;
  --brand-200: #CAF2D2;
  --brand-300: #A1EDB0;
  --brand-400: #72E488;
  --brand-500: #43DB61;
  --brand-600: #27CE48;
  --brand-700: #21AB3C;
  --brand-800: #1A8930;
  --brand-900: #125e21;
  --brand-950: #0E3E18;
  --brand: #125e21;
  --brand-ink: #ffffff;
}

Colors that work with #125e21

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#F4FAF5
Tinted page background
Border#C0EDC9
Hairlines and dividers
Muted text#4B9B5A
Captions on the surface
Accent#5C1060
Second voice, not a rival
Dark variant#146B25
Hover, pressed, headers
Light variant#EAFBED
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 #125e21

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
  • Text on black or near-black surfaces
  • 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#5E124F
Analogous left#295E12
Analogous right#125E47
Split-complement 1#47125E
Split-complement 2#5E1229
Triadic 1#21125E
Triadic 2#5E2112
Tetradic#12295E

RGB percentages

Red7.1%
Green36.9%
Blue12.9%

CMYK percentages

Cyan80.9%
Magenta0.0%
Yellow64.9%
Key (black)63.1%

Color previews

#125e21 text on a black background

contrast 2.65:1

Card sample

#125e21 text on a white background

contrast 7.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(18, 94, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 94, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #125e21;
background: linear-gradient(135deg, #125e21, #125E54);

Monochromatic scale

Palettes built from #125e21

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.

#125e21 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.

#125e21, answered

What color is #125e21?

#125e21 is a deep vivid green, closest to Dark Green (ΔE2000 5.3). It sits at 132° on the hue wheel with 68% saturation and 22% lightness, which reads as cool.

What is the RGB value of #125e21?

rgb(18, 94, 33) — 18 red, 94 green and 33 blue out of 255, or 7.1% / 36.9% / 12.9% by channel.

Is #125e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0824 and perceived brightness is 29%, so white text on it reaches 7.93:1.

Should I use black or white text on #125e21?

White. It scores 7.93:1 against #125e21, versus 2.65:1 for black — AAA at any size.

What is the complementary color of #125e21?

#5E124F sits directly opposite on the wheel. Softer options are the split-complements #47125E and #5E1229, which give the same contrast with far less vibration.

What colors go well with #125e21?

For interface work: #F4FAF5 as the surface, #C0EDC9 for borders, #4B9B5A for secondary text, #5C1060 as an accent and #146B25 for hover and pressed states. For a palette, the analogous pair #295E12 and #125E47 stays calm, while #5E124F is the loudest partner.

What is #125e21 in CMYK for printing?

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

Is #125e21 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 #1F5E12; nudged cooler, #115F3D.

Work with #125e21 in the Color Lab