Skip to content

#1a4821

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

RGB
26, 72, 33
HSL
129°, 47%, 19%
CMYK
64, 0, 54, 72
Luminance
0.0496

At a glance

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

Hex
#1a4821
Hue
129°
green
Saturation
47%
vivid
Lightness
19%
deep
Brightness
28%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0496
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Vivid
Best ink
White
10.54:1
Closest name
Dark Green
ΔE2000 12.4
Where it sits
Hue129° of 360°
Saturation47%
Lightness19%
Temperature
Warm ← → Cool66% 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#1a4821
RGBrgb(26, 72, 33)
HSLhsl(129, 47%, 19%)
CMYKcmyk(64%, 0%, 54%, 72%)
LABlab(26.6 -25.4 18.7)
LCHlch(26.6 31.6 143.6)
OKLCHoklch(0.359 0.083 146.6)
Decimal1722401
Display P3color(display-p3 0.102 0.282 0.129)

Copy-ready code

/* CSS */
color: #1a4821;
background-color: #1a4821;
/* Tailwind (arbitrary) */
class="text-[#1a4821] bg-[#1a4821]"
/* SCSS */
$brand: #1a4821;
/* SwiftUI */
Color(red: 0.102, green: 0.282, blue: 0.129)
/* Android */
Color.parseColor("#1a4821")
/* Flutter */
Color(0xFF1A4821)
/* Python / OpenCV (BGR) */
(33, 72, 26)

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

Accessibility — WCAG contrast

Aa
#1a4821 on white: 10.54:1
AA ✓ pass · AA-large · AAA
Aa
#1a4821 on black: 1.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #49411E
deuteranopia · #433D24
tritanopia · #10463F

Color scale — 50 to 950

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

#F5FAF5
#EAF5EC
#D0ECD4
#ADE1B5
#83D28F
#5AC36A
#41B452
#369645
#2B7837
#23582B
#1a4821
Base = 950Lightest = 50 · #F5FAF5Darkest = 950 · #1a4821
:root {
  --brand-50: #F5FAF5;
  --brand-100: #EAF5EC;
  --brand-200: #D0ECD4;
  --brand-300: #ADE1B5;
  --brand-400: #83D28F;
  --brand-500: #5AC36A;
  --brand-600: #41B452;
  --brand-700: #369645;
  --brand-800: #2B7837;
  --brand-900: #23582B;
  --brand-950: #1a4821;
  --brand: #1a4821;
  --brand-ink: #ffffff;
}

Colors that work with #1a4821

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#C3E9C9
Hairlines and dividers
Muted text#4B9B57
Captions on the surface
Accent#45184A
Second voice, not a rival
Dark variant#225E2B
Hover, pressed, headers
Light variant#ECF8EE
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 #1a4821

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#481A41
Analogous left#2A481A
Analogous right#1A4838
Split-complement 1#381A48
Split-complement 2#481A2A
Triadic 1#211A48
Triadic 2#48211A
Tetradic#1A2A48

RGB percentages

Red10.2%
Green28.2%
Blue12.9%

CMYK percentages

Cyan63.9%
Magenta0.0%
Yellow54.2%
Key (black)71.8%

Color previews

#1a4821 text on a black background

contrast 1.99:1

Card sample

#1a4821 text on a white background

contrast 10.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(26, 72, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(26, 72, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1a4821;
background: linear-gradient(135deg, #1a4821, #1A4840);

Monochromatic scale

Palettes built from #1a4821

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.

#1a4821 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.

#1a4821, answered

What color is #1a4821?

#1a4821 is a deep vivid green, closest to Dark Green (ΔE2000 12.4). It sits at 129° on the hue wheel with 47% saturation and 19% lightness, which reads as cool.

What is the RGB value of #1a4821?

rgb(26, 72, 33) — 26 red, 72 green and 33 blue out of 255, or 10.2% / 28.2% / 12.9% by channel.

Is #1a4821 a light or a dark color?

It is a dark color. Relative luminance is 0.0496 and perceived brightness is 23%, so white text on it reaches 10.54:1.

Should I use black or white text on #1a4821?

White. It scores 10.54:1 against #1a4821, versus 1.99:1 for black — AAA at any size.

What is the complementary color of #1a4821?

#481A41 sits directly opposite on the wheel. Softer options are the split-complements #381A48 and #481A2A, which give the same contrast with far less vibration.

What colors go well with #1a4821?

For interface work: #F4FAF5 as the surface, #C3E9C9 for borders, #4B9B57 for secondary text, #45184A as an accent and #225E2B for hover and pressed states. For a palette, the analogous pair #2A481A and #1A4838 stays calm, while #481A41 is the loudest partner.

What is #1a4821 in CMYK for printing?

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

Is #1a4821 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #24481A; nudged cooler, #194932.

Work with #1a4821 in the Color Lab