#31741E#31741E
#31741E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.137 H 139.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #31741E |
|---|---|
| RGB | rgb(49, 116, 30) |
| HSL | hsl(107, 59%, 29%) |
| HSV | hsv(107, 74%, 45%) |
| CMYK | cmyk(57.8%, 0%, 74.1%, 54.5%) |
| CIE-LAB | lab(43.12, -38.04, 39.10) |
| CIE-LCH | lch(43.12, 54.55, 134.21°) |
| OKLab | oklab(49.7% -0.1045 0.0888) |
| OKLCH | oklch(49.7% 0.137 139.7) |
| XYZ | xyz(7.7460, 13.2368, 3.3748) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.70
Darkish Green
#287C37
ΔE00 4.90
Green
#008000
ΔE00 5.44
Dark Grass Green
#388004
ΔE00 5.44
Darkgreen
#006400
ΔE00 6.32
Darkolivegreen
#556B2F
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31741E #611E74
analogous
#5C741E #31741E #1E7436
triadic
#31741E #1E3174 #741E31
tetradic
#31741E #1E5C74 #611E74 #74361E
square
#31741E #1E5C74 #611E74 #74361E
split-complementary
#31741E #361E74 #741E5C
monochromatic
#0A1806 #1C4311 #31741E #46A52B #5ECD3F
Accessibility & contrast
On white
5.76
#31741E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#31741E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31741E
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31741E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31741E | 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)
#776910
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#2A7063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #31741e; /* rgb */ color: rgb(49, 116, 30); /* oklch */ color: oklch(49.7% 0.137 139.7);
Tailwind
colors: {
custom: {
50: '#719d5f',
500: '#31741e',
950: '#000000',
},
}SCSS
$custom: #31741e; $custom-light: #719d5f; $custom-dark: #000000;
JSON
{
"hex": "#31741e",
"rgb": {
"r": 49,
"g": 116,
"b": 30
},
"hsl": {
"h": 106.744,
"s": 58.904,
"l": 28.627
},
"oklch": {
"l": 0.49701,
"c": 0.13714,
"h": 139.7
},
"luminance": 0.13237
}Semantic roles & 50–950 ramp
primary
#31741E
secondary
#9246A8
accent
#46E2C0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79