#1F7431#1F7431
#1F7431 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.129 H 146.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7431 |
|---|---|
| RGB | rgb(31, 116, 49) |
| HSL | hsl(133, 58%, 29%) |
| HSV | hsv(133, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 57.8%, 54.5%) |
| CIE-LAB | lab(42.77, -40.15, 29.58) |
| CIE-LCH | lch(42.77, 49.87, 143.62°) |
| OKLab | oklab(49.32% -0.1082 0.0706) |
| OKLCH | oklch(49.32% 0.129 146.9) |
| XYZ | xyz(7.3643, 13.0030, 5.0269) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.88
Jungle Green
#048243
ΔE00 5.41
Tree Green
#2A7E19
ΔE00 6.21
Darkgreen
#006400
ΔE00 7.31
Green
#008000
ΔE00 7.59
Dark Grass Green
#388004
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7431 #741F62
analogous
#38741F #1F7431 #1F745C
triadic
#1F7431 #311F74 #74311F
tetradic
#1F7431 #1F3874 #741F62 #745C1F
square
#1F7431 #1F3874 #741F62 #745C1F
split-complementary
#1F7431 #5C1F74 #741F38
monochromatic
#06180A #12441D #1F7431 #2CA445 #41CC5F
Accessibility & contrast
On white
5.83
#1F7431 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#1F7431 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7431
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7431 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76692B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7431; /* rgb */ color: rgb(31, 116, 49); /* oklch */ color: oklch(49.3% 0.129 146.9);
Tailwind
colors: {
custom: {
50: '#689d6b',
500: '#1f7431',
950: '#000000',
},
}SCSS
$custom: #1f7431; $custom-light: #689d6b; $custom-dark: #000000;
JSON
{
"hex": "#1f7431",
"rgb": {
"r": 31,
"g": 116,
"b": 49
},
"hsl": {
"h": 132.706,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.4932,
"c": 0.12925,
"h": 146.9
},
"luminance": 0.13004
}Semantic roles & 50–950 ramp
primary
#1F7431
secondary
#A84793
accent
#47C0E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A