Hex Color #02874B - Custom Color

Color Codes

HEX
#02874B
RGB
rgb(2, 135, 75)
HSL
hsl(153, 97%, 27%)
CMYK
cmyk(99%, 0%, 44%, 47%)
HSV
hsv(153, 99%, 53%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.57: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: #02874B;
color: #02874B;
border-color: #02874B;
}

Tailwind CSS (with arbitrary values)

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