#31724E#31724E
#31724E is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.9% C 0.089 H 156.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #31724E |
|---|---|
| RGB | rgb(49, 114, 78) |
| HSL | hsl(147, 40%, 32%) |
| HSV | hsv(147, 57%, 45%) |
| CMYK | cmyk(57%, 0%, 31.6%, 55.3%) |
| CIE-LAB | lab(43.12, -29.84, 13.83) |
| CIE-LCH | lch(43.12, 32.89, 155.13°) |
| OKLab | oklab(49.92% -0.0815 0.0351) |
| OKLCH | oklch(49.92% 0.089 156.7) |
| XYZ | xyz(8.6584, 13.2369, 9.3049) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 7.19
Hunter Green
#355E3B
ΔE00 7.26
Pine
#2B5D34
ΔE00 7.65
Dark Sea Green
#11875D
ΔE00 7.81
Darkish Green
#287C37
ΔE00 8.02
Jungle Green
#048243
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31724E #723155
analogous
#357231 #31724E #31726F
triadic
#31724E #4E3172 #724E31
tetradic
#31724E #313572 #723155 #726F31
square
#31724E #313572 #723155 #726F31
split-complementary
#31724E #6F3172 #723135
monochromatic
#0C1C13 #1F4731 #31724E #439D6B #62BB8A
Accessibility & contrast
On white
5.76
#31724E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#31724E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31724E
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31724E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31724E | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716A4C
Deuteranopia (green-blind)
#686350
Tritanopia (blue-blind)
#1D7168
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #31724e; /* rgb */ color: rgb(49, 114, 78); /* oklch */ color: oklch(49.9% 0.089 156.7);
Tailwind
colors: {
custom: {
50: '#6f9b7f',
500: '#31724e',
950: '#000000',
},
}SCSS
$custom: #31724e; $custom-light: #6f9b7f; $custom-dark: #000000;
JSON
{
"hex": "#31724e",
"rgb": {
"r": 49,
"g": 114,
"b": 78
},
"hsl": {
"h": 146.769,
"s": 39.877,
"l": 31.961
},
"oklch": {
"l": 0.49922,
"c": 0.08871,
"h": 156.7
},
"luminance": 0.13238
}Semantic roles & 50–950 ramp
primary
#31724E
secondary
#A35C83
accent
#589AD0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C