Hex Color #118515 - Custom Color

Color Codes

HEX
#118515
RGB
rgb(17, 133, 21)
HSL
hsl(122, 77%, 29%)
CMYK
cmyk(87%, 0%, 84%, 48%)
HSV
hsv(122, 87%, 52%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.39: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: #118515;
color: #118515;
border-color: #118515;
}

Tailwind CSS (with arbitrary values)

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