Hex Color #06811F - Custom Color

Color Codes

HEX
#06811F
RGB
rgb(6, 129, 31)
HSL
hsl(132, 91%, 26%)
CMYK
cmyk(95%, 0%, 76%, 49%)
HSV
hsv(132, 95%, 51%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 5.04:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.17:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #06811F;
color: #06811F;
border-color: #06811F;
}

Tailwind CSS (with arbitrary values)

bg-[#06811F]
text-[#06811F]
border-[#06811F]
// Example usage:
<div className="bg-[#06811F]">