Hex Color #298648 - Custom Color

Color Codes

HEX
#298648
RGB
rgb(41, 134, 72)
HSL
hsl(140, 53%, 34%)
CMYK
cmyk(69%, 0%, 46%, 47%)
HSV
hsv(140, 69%, 53%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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