What is hex #00A51B color?

 
The hex code #00A51B is closest to the named color Forest Green Web (#228B22).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 0% red, 65% green and 11% blue, resulting in rgb(0, 165, 27) and hsl(130, 100%, 32%).
For print media and manufacturing layout, the CMYK equivalent is (100%, 0%, 84%, 35%).
In the HSV/HSB scale, #00A51B features a hue of 130°, 100% saturation, and 65% brightness.

Hex #00A51B Color Codes & Conversions

Closest Named Color
Forest Green Web (#228B22)
Hex Code #00A51B
Hex8 (RGBA Hex) #00A51BFF
RGB (CSS) rgb(0, 165, 27)
RGBA (CSS) rgba(0, 165, 27, 1)
HSL (CSS) hsl(130, 100%, 32%)
HSLA (CSS) hsla(130, 100%, 32%, 1)
HSV / HSB (130°, 100%, 65%)
CMYK Values (100%, 0%, 84%, 35%)
OKLCH (Modern CSS) oklch(62.6% 0.206 143.6)
CIE-LAB (D65) 58.96, -61.26, 55.20
CIE XYZ 13.65, 26.99, 5.53
Decimal / Binary 42267
00000000 10100101 00011011

Closest Standards & Equivalents

Closest Web Safe
#009933
Inverse Color
#FF5AE4
Complementary Color
#A5008A
Closest Pantone®
Pantone 355 C
Closest RAL
RAL 6038 [Luminous green]

#00A51B Grayscale Equivalents

Average
#404040
Lightness (Desaturation)
#535353
Weighted (BT601)
#646464
Luma (BT709)
#787878

WCAG 2.1 Color Contrast & Accessibility

Check how #00A51B complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #00A51B

Sample preview of readable typography on top of #00A51B.

Contrast Ratio: 3.28:1
AA Fail AAA Fail

Black Text on #00A51B

Sample preview of readable typography on top of #00A51B.

Contrast Ratio: 6.4:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #00A51B

Preview #00A51B in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #00A51B;
Typography Color Preview
color: #00A51B;
Border & Shadow Preview
border: 2px solid #00A51B;
CSS Custom Properties & Gradient
:root {
  --color-primary: #00A51B;
  --color-primary-rgb: 0, 165, 27;
  --color-complementary: #A5008A;
}
.btn-accent {
  background-color: #00A51B;
  color: #000000;
}

Hex #00A51B Color Palettes

Complementary Palette

The complementary color of #00A51B is #A5008A. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #00A51B pairs with #37A500 and #00A56D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #00A51B pairs with #A50037 and #6D00A5, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #00A51B uses #A51B00 and #1B00A5, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #00A51B combines #1B00A5, #A5008A and #8AA500 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #00A51B pairs with #0037A5, #A5008A and #A56D00 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #00A51B

Tints

Tints are created by mixing #00A51B with white, producing lighter variations.

Tones

Tones are created by mixing #00A51B with gray, softening saturation.

Shades

Shades result from mixing #00A51B with black, creating deeper variations.

Hex #00A51B in Programming & CSS Frameworks

Copy the exact syntax for #00A51B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #00A51B
Tailwind CSS bg-[#00A51B] text-[#00A51B]
Java (AWT) new Color(0,165,27);
Python Color("#00A51B")
.NET (C#) Color.FromArgb(255, 0,165,27);
Swift / iOS UIColor(red: 0, green: 0.65, blue: 0.11, alpha: 1)
Kotlin / Android Color.rgb(0, 165, 27)