Hex Color #235240 - Custom Color
Color Codes
HEX
#235240
RGB
rgb(35, 82, 64)
HSL
hsl(157, 40%, 23%)
CMYK
cmyk(57%, 0%, 22%, 68%)
HSV
hsv(157, 57%, 32%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.93:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.35: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: #235240;
color: #235240;
border-color: #235240;
}
Tailwind CSS (with arbitrary values)
bg-[#235240]
text-[#235240]
border-[#235240]
// Example usage:
<div className="bg-[#235240]">