Hex Color #18530D - Custom Color

Color Codes

HEX
#18530D
RGB
rgb(24, 83, 13)
HSL
hsl(111, 73%, 19%)
CMYK
cmyk(71%, 0%, 84%, 67%)
HSV
hsv(111, 84%, 33%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.28: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: #18530D;
color: #18530D;
border-color: #18530D;
}

Tailwind CSS (with arbitrary values)

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