#81B21F color

#81B21F is rgb(129, 178, 31) in RGB and hsl(80, 70%, 41%) in HSL. The closest CSS named color is yellowgreen (#9acd32, ΔE 7.3). Use black text on it (contrast 8.32:1).

#81B21Fyellow-green
HEX#81B21F
RGBrgb(129, 178, 31)
RGB percentrgb(50.6%, 69.8%, 12.2%)
HSLhsl(80, 70%, 41%)
HSV / HSBhsv(80, 83%, 70%)
CMYKcmyk(28%, 0%, 83%, 30%)
CIELAB (D65)lab(67 -36.4 62.8)

Edit in the color converter → · Check contrast → · Shades →

About #81B21F

#81B21F is a medium-dark, saturated yellow-green with a hue angle of 80°. It belongs to the green family and reads as a balanced color. In the RGB model green is the strongest channel at 178 (70%) and blue the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#81B21F
RGBrgb(129, 178, 31)
RGB percentrgb(50.6%, 69.8%, 12.2%)
HSLhsl(80, 70%, 41%)
HSV / HSBhsv(80, 83%, 70%)
CMYKcmyk(28%, 0%, 83%, 30%)
CIELAB (D65)lab(67 -36.4 62.8)
Decimal8499743
Binary10000001 10110010 00011111

HEX 81 B2 1F → 129, 178, 31 (each pair is a base-16 number: 8×16 + 1 = 129)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #81B21F

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #81B21FRatioAA normalAA largeAAA normalAAA large
White text2.52:1FailFailFailFail
Black text8.32:1PassPassPassPass
White text on #81B21F
Black text on #81B21F
#81B21F text on white
#81B21F text on black

Relative luminance is 0.3661 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#bba500

Deuteranopia
#b5a230

Tritanopia
#86a998

Achromatopsia
#a3a3a3

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 15.6). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
yellowgreen#9acd327.3
limegreen#32cd3211.4
olivedrab#6b8e2311.4
darkkhaki#bdb76b13.9

CSS

.element {
  color: #81b21f;
  background-color: rgb(129, 178, 31);
  border: 1px solid hsl(80, 70%, 41%);
  box-shadow: 0 2px 8px rgb(129 178 31 / 50%);
}
:root { --brand: #81b21f; }

Frequently asked questions

What color is #81B21F?
A medium-dark saturated yellow-green in the green family. Closest CSS name: yellowgreen.
What is #81B21F in RGB?
rgb(129, 178, 31): red 129, green 178, blue 31.
What is the complementary color of #81B21F?
#501FB2, found by rotating the hue 180°.