#1F7147#1F7147
#1F7147 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.103 H 156.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7147 |
|---|---|
| RGB | rgb(31, 113, 71) |
| HSL | hsl(149, 57%, 28%) |
| HSV | hsv(149, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 37.2%, 55.7%) |
| CIE-LAB | lab(42.09, -34.90, 16.44) |
| CIE-LCH | lch(42.09, 38.58, 154.77°) |
| OKLab | oklab(48.87% -0.0945 0.0413) |
| OKLCH | oklch(48.87% 0.103 156.4) |
| XYZ | xyz(7.6068, 12.5556, 7.9826) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.07
Darkish Green
#287C37
ΔE00 7.00
Jungle Green
#048243
ΔE00 7.00
Pine
#2B5D34
ΔE00 7.22
Hunter Green
#355E3B
ΔE00 7.53
Dark Sea Green
#11875D
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7147 #711F49
analogous
#20711F #1F7147 #1F7170
triadic
#1F7147 #471F71 #71471F
tetradic
#1F7147 #1F2071 #711F49 #71701F
square
#1F7147 #1F2071 #711F49 #71701F
split-complementary
#1F7147 #701F71 #711F20
monochromatic
#07180F #124129 #1F7147 #2CA165 #40CB84
Accessibility & contrast
On white
5.98
#1F7147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#1F7147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7147
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7147 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706844
Deuteranopia (green-blind)
#66604A
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f7147; /* rgb */ color: rgb(31, 113, 71); /* oklch */ color: oklch(48.9% 0.103 156.4);
Tailwind
colors: {
custom: {
50: '#679a7a',
500: '#1f7147',
950: '#000000',
},
}SCSS
$custom: #1f7147; $custom-light: #679a7a; $custom-dark: #000000;
JSON
{
"hex": "#1f7147",
"rgb": {
"r": 31,
"g": 113,
"b": 71
},
"hsl": {
"h": 149.268,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48873,
"c": 0.10316,
"h": 156.4
},
"luminance": 0.12556
}Semantic roles & 50–950 ramp
primary
#1F7147
secondary
#A54777
accent
#4896E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B