Skip to content

#1a8321

a dark, vivid green · cool · closest name: Green

RGB
26, 131, 33
HSL
124°, 67%, 31%
CMYK
80, 0, 75, 49
Luminance
0.1656

At a glance

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

Hex
#1a8321
Hue
124°
green
Saturation
67%
vivid
Lightness
31%
dark
Brightness
51%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1656
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Vivid
Best ink
White
4.87:1
Closest name
Green
ΔE2000 2.7
Where it sits
Hue124° of 360°
Saturation67%
Lightness31%
Temperature
Warm ← → Cool64% 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#1a8321
RGBrgb(26, 131, 33)
HSLhsl(124, 67%, 31%)
CMYKcmyk(80%, 0%, 75%, 49%)
LABlab(47.7 -48.2 42.4)
LCHlch(47.7 64.2 138.7)
OKLCHoklch(0.533 0.162 143.6)
Decimal1737505
Display P3color(display-p3 0.102 0.514 0.129)

Copy-ready code

/* CSS */
color: #1a8321;
background-color: #1a8321;
/* Tailwind (arbitrary) */
class="text-[#1a8321] bg-[#1a8321]"
/* SCSS */
$brand: #1a8321;
/* SwiftUI */
Color(red: 0.102, green: 0.514, blue: 0.129)
/* Android */
Color.parseColor("#1a8321")
/* Flutter */
Color(0xFF1A8321)
/* Python / OpenCV (BGR) */
(33, 131, 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 #1a8321 · 4.87:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.87:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.31:1
AA fail · AA large pass · AAA fail
Reading the other direction: #1a8321 as text scores 4.87:1 on white and 4.31:1 on black.

Accessibility — WCAG contrast

Aa
#1a8321 on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#1a8321 on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #867610
deuteranopia · #7A6E2B
tritanopia · #007F70

Color scale — 50 to 950

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

#F3FBF4
#E8F8E9
#CAF1CD
#A1ECA6
#73E37A
#44DA4E
#29CC33
#22AA2B
#1a8321
#18631D
#0F3E12
Base = 800Lightest = 50 · #F3FBF4Darkest = 950 · #0F3E12
:root {
  --brand-50: #F3FBF4;
  --brand-100: #E8F8E9;
  --brand-200: #CAF1CD;
  --brand-300: #A1ECA6;
  --brand-400: #73E37A;
  --brand-500: #44DA4E;
  --brand-600: #29CC33;
  --brand-700: #22AA2B;
  --brand-800: #1a8321;
  --brand-900: #18631D;
  --brand-950: #0F3E12;
  --brand: #1a8321;
  --brand-ink: #ffffff;
}

Colors that work with #1a8321

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#C0EDC3
Hairlines and dividers
Muted text#4B9B50
Captions on the surface
Accent#721786
Second voice, not a rival
Dark variant#156A1B
Hover, pressed, headers
Light variant#EAFBEB
Selected rows, tints
Dark surface#142415
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 #1a8321

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#831A7C
Analogous left#48831A
Analogous right#1A8356
Split-complement 1#561A83
Split-complement 2#831A48
Triadic 1#211A83
Triadic 2#83211A
Tetradic#1A4883

RGB percentages

Red10.2%
Green51.4%
Blue12.9%

CMYK percentages

Cyan80.2%
Magenta0.0%
Yellow74.8%
Key (black)48.6%

Color previews

#1a8321 text on a black background

contrast 4.31:1

Card sample

#1a8321 text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1a8321

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.

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

#1a8321, answered

What color is #1a8321?

#1a8321 is a dark vivid green, closest to Green (ΔE2000 2.7). It sits at 124° on the hue wheel with 67% saturation and 31% lightness, which reads as cool.

What is the RGB value of #1a8321?

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

Is #1a8321 a light or a dark color?

It is a dark color. Relative luminance is 0.1656 and perceived brightness is 40%, so white text on it reaches 4.87:1.

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

White. It scores 4.87:1 against #1a8321, versus 4.31:1 for black — AA at any size.

What is the complementary color of #1a8321?

#831A7C sits directly opposite on the wheel. Softer options are the split-complements #561A83 and #831A48, which give the same contrast with far less vibration.

What colors go well with #1a8321?

For interface work: #F4FAF5 as the surface, #C0EDC3 for borders, #4B9B50 for secondary text, #721786 as an accent and #156A1B for hover and pressed states. For a palette, the analogous pair #48831A and #1A8356 stays calm, while #831A7C is the loudest partner.

What is #1a8321 in CMYK for printing?

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

Is #1a8321 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3A831A; nudged cooler, #188547.

Work with #1a8321 in the Color Lab