Hex Color #45814D - Custom Color

Color Codes

HEX
#45814D
RGB
rgb(69, 129, 77)
HSL
hsl(128, 30%, 39%)
CMYK
cmyk(47%, 0%, 40%, 49%)
HSV
hsv(128, 47%, 51%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.50:1
Pass - 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: #45814D;
color: #45814D;
border-color: #45814D;
}

Tailwind CSS (with arbitrary values)

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