#1F7247#1F7247
#1F7247 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.105 H 156.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7247 |
|---|---|
| RGB | rgb(31, 114, 71) |
| HSL | hsl(149, 57%, 28%) |
| HSV | hsv(149, 73%, 45%) |
| CMYK | cmyk(72.8%, 0%, 37.7%, 55.3%) |
| CIE-LAB | lab(42.43, -35.33, 16.90) |
| CIE-LCH | lch(42.43, 39.16, 154.43°) |
| OKLab | oklab(49.16% -0.0956 0.0424) |
| OKLCH | oklch(49.16% 0.105 156.1) |
| XYZ | xyz(7.7190, 12.7800, 8.0200) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.40
Jungle Green
#048243
ΔE00 6.61
Darkish Green
#287C37
ΔE00 6.65
Pine
#2B5D34
ΔE00 7.50
Dark Sea Green
#11875D
ΔE00 7.66
Hunter Green
#355E3B
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7247 #721F4A
analogous
#20721F #1F7247 #1F7270
triadic
#1F7247 #471F72 #72471F
tetradic
#1F7247 #1F2072 #721F4A #72701F
square
#1F7247 #1F2072 #721F4A #72701F
split-complementary
#1F7247 #701F72 #721F20
monochromatic
#07180F #124229 #1F7247 #2CA265 #40CB83
Accessibility & contrast
On white
5.91
#1F7247 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1F7247 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7247
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7247 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716944
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7247; /* rgb */ color: rgb(31, 114, 71); /* oklch */ color: oklch(49.2% 0.105 156.1);
Tailwind
colors: {
custom: {
50: '#679b7a',
500: '#1f7247',
950: '#000000',
},
}SCSS
$custom: #1f7247; $custom-light: #679b7a; $custom-dark: #000000;
JSON
{
"hex": "#1f7247",
"rgb": {
"r": 31,
"g": 114,
"b": 71
},
"hsl": {
"h": 148.916,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.49156,
"c": 0.10461,
"h": 156.1
},
"luminance": 0.12781
}Semantic roles & 50–950 ramp
primary
#1F7247
secondary
#A64778
accent
#4797E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B