Skip to content

#28811a

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

RGB
40, 129, 26
HSL
112°, 67%, 30%
CMYK
69, 0, 80, 49
Luminance
0.1623

At a glance

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

Hex
#28811a
Hue
112°
green
Saturation
67%
vivid
Lightness
30%
dark
Brightness
51%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1623
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Vivid
Best ink
White
4.95:1
Closest name
Green
ΔE2000 2.2
Where it sits
Hue112° of 360°
Saturation67%
Lightness30%
Temperature
Warm ← → Cool59% 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#28811a
RGBrgb(40, 129, 26)
HSLhsl(112, 67%, 30%)
CMYKcmyk(69%, 0%, 80%, 49%)
LABlab(47.3 -45.6 44.7)
LCHlch(47.3 63.8 135.6)
OKLCHoklch(0.530 0.160 141.3)
Decimal2654490
Display P3color(display-p3 0.157 0.506 0.102)

Copy-ready code

/* CSS */
color: #28811a;
background-color: #28811a;
/* Tailwind (arbitrary) */
class="text-[#28811a] bg-[#28811a]"
/* SCSS */
$brand: #28811a;
/* SwiftUI */
Color(red: 0.157, green: 0.506, blue: 0.102)
/* Android */
Color.parseColor("#28811a")
/* Flutter */
Color(0xFF28811A)
/* Python / OpenCV (BGR) */
(26, 129, 40)

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

Accessibility — WCAG contrast

Aa
#28811a on white: 4.95:1
AA ✓ pass · AA-large · AAA
Aa
#28811a on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #847401
deuteranopia · #7A6D26
tritanopia · #167D6E

Color scale — 50 to 950

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

#F4FBF3
#EAF8E8
#D0F1CA
#ACECA2
#82E373
#59D944
#3FCC29
#35AA22
#28811a
#226318
#153E0F
Base = 800Lightest = 50 · #F4FBF3Darkest = 950 · #153E0F
:root {
  --brand-50: #F4FBF3;
  --brand-100: #EAF8E8;
  --brand-200: #D0F1CA;
  --brand-300: #ACECA2;
  --brand-400: #82E373;
  --brand-500: #59D944;
  --brand-600: #3FCC29;
  --brand-700: #35AA22;
  --brand-800: #28811a;
  --brand-900: #226318;
  --brand-950: #153E0F;
  --brand: #28811a;
  --brand-ink: #ffffff;
}

Colors that work with #28811a

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#F5FAF4
Tinted page background
Border#C6EDC0
Hairlines and dividers
Muted text#569B4B
Captions on the surface
Accent#5A1784
Second voice, not a rival
Dark variant#216A15
Hover, pressed, headers
Light variant#ECFBEA
Selected rows, tints
Dark surface#162414
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 #28811a

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#731A81
Analogous left#5C811A
Analogous right#1A813F
Split-complement 1#3F1A81
Split-complement 2#811A5C
Triadic 1#1A2881
Triadic 2#811A28
Tetradic#1A5C81

RGB percentages

Red15.7%
Green50.6%
Blue10.2%

CMYK percentages

Cyan69.0%
Magenta0.0%
Yellow79.8%
Key (black)49.4%

Color previews

#28811a text on a black background

contrast 4.25:1

Card sample

#28811a text on a white background

contrast 4.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #28811a;
Background color
Panel with #28811a background
background-color: #28811a;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #28811a;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(40, 129, 26, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 129, 26, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28811a;
background: linear-gradient(135deg, #28811a, #1A8151);

Monochromatic scale

Palettes built from #28811a

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.

#28811a 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.

#28811a, answered

What color is #28811a?

#28811a is a dark vivid green, closest to Green (ΔE2000 2.2). It sits at 112° on the hue wheel with 67% saturation and 30% lightness, which reads as cool.

What is the RGB value of #28811a?

rgb(40, 129, 26) — 40 red, 129 green and 26 blue out of 255, or 15.7% / 50.6% / 10.2% by channel.

Is #28811a a light or a dark color?

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

Should I use black or white text on #28811a?

White. It scores 4.95:1 against #28811a, versus 4.25:1 for black — AA at any size.

What is the complementary color of #28811a?

#731A81 sits directly opposite on the wheel. Softer options are the split-complements #3F1A81 and #811A5C, which give the same contrast with far less vibration.

What colors go well with #28811a?

For interface work: #F5FAF4 as the surface, #C6EDC0 for borders, #569B4B for secondary text, #5A1784 as an accent and #216A15 for hover and pressed states. For a palette, the analogous pair #5C811A and #1A813F stays calm, while #731A81 is the loudest partner.

What is #28811a in CMYK for printing?

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

Is #28811a warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4E811A; nudged cooler, #188331.

Work with #28811a in the Color Lab