#31723E#31723E
#31723E is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.105 H 148.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #31723E |
|---|---|
| RGB | rgb(49, 114, 62) |
| HSL | hsl(132, 40%, 32%) |
| HSV | hsv(132, 57%, 45%) |
| CMYK | cmyk(57%, 0%, 45.6%, 55.3%) |
| CIE-LAB | lab(42.82, -33.01, 22.67) |
| CIE-LCH | lch(42.82, 40.04, 145.51°) |
| OKLab | oklab(49.58% -0.0894 0.0558) |
| OKLCH | oklch(49.58% 0.105 148) |
| XYZ | xyz(8.1529, 13.0347, 6.6428) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.55
Jungle Green
#048243
ΔE00 6.27
Pine
#2B5D34
ΔE00 7.20
Spruce
#0A5F38
ΔE00 7.63
Hunter Green
#355E3B
ΔE00 7.64
Forest Green
#2D5A27
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31723E #723165
analogous
#457231 #31723E #31725F
triadic
#31723E #3E3172 #723E31
tetradic
#31723E #314572 #723165 #725F31
square
#31723E #314572 #723165 #725F31
split-complementary
#31723E #5F3172 #723145
monochromatic
#0C1C0F #1F4727 #31723E #439D55 #62BB74
Accessibility & contrast
On white
5.82
#31723E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#31723E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31723E
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31723E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31723E | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73693A
Deuteranopia (green-blind)
#6A6341
Tritanopia (blue-blind)
#237065
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #31723e; /* rgb */ color: rgb(49, 114, 62); /* oklch */ color: oklch(49.6% 0.105 148.0);
Tailwind
colors: {
custom: {
50: '#6f9b74',
500: '#31723e',
950: '#000000',
},
}SCSS
$custom: #31723e; $custom-light: #6f9b74; $custom-dark: #000000;
JSON
{
"hex": "#31723e",
"rgb": {
"r": 49,
"g": 114,
"b": 62
},
"hsl": {
"h": 132,
"s": 39.877,
"l": 31.961
},
"oklch": {
"l": 0.49575,
"c": 0.10538,
"h": 148
},
"luminance": 0.13035
}Semantic roles & 50–950 ramp
primary
#31723E
secondary
#A35C95
accent
#58B8D0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B