#31742E#31742E
#31742E is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.124 H 142.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #31742E |
|---|---|
| RGB | rgb(49, 116, 46) |
| HSL | hsl(117, 43%, 32%) |
| HSV | hsv(117, 60%, 45%) |
| CMYK | cmyk(57.8%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(43.27, -36.32, 31.85) |
| CIE-LCH | lch(43.27, 48.30, 138.75°) |
| OKLab | oklab(49.88% -0.0988 0.0753) |
| OKLCH | oklch(49.88% 0.124 142.7) |
| XYZ | xyz(8.0047, 13.3403, 4.7374) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.18
Tree Green
#2A7E19
ΔE00 5.21
Jungle Green
#048243
ΔE00 6.53
Green
#008000
ΔE00 7.06
Darkgreen
#006400
ΔE00 7.21
Dark Grass Green
#388004
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31742E #712E74
analogous
#54742E #31742E #2E744E
triadic
#31742E #2E3174 #742E31
tetradic
#31742E #2E5474 #712E74 #744E2E
square
#31742E #2E5474 #712E74 #744E2E
split-complementary
#31742E #4E2E74 #742E54
monochromatic
#0C1C0B #1E481D #31742E #44A03F #62BF5D
Accessibility & contrast
On white
5.72
#31742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#31742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31742E
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31742E | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776A27
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#277165
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #31742e; /* rgb */ color: rgb(49, 116, 46); /* oklch */ color: oklch(49.9% 0.124 142.7);
Tailwind
colors: {
custom: {
50: '#709d69',
500: '#31742e',
950: '#000000',
},
}SCSS
$custom: #31742e; $custom-light: #709d69; $custom-dark: #000000;
JSON
{
"hex": "#31742e",
"rgb": {
"r": 49,
"g": 116,
"b": 46
},
"hsl": {
"h": 117.429,
"s": 43.21,
"l": 31.765
},
"oklch": {
"l": 0.49877,
"c": 0.12425,
"h": 142.7
},
"luminance": 0.13341
}Semantic roles & 50–950 ramp
primary
#31742E
secondary
#A259A5
accent
#55D3CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A