#1F7345#1F7345
#1F7345 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.108 H 154.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7345 |
|---|---|
| RGB | rgb(31, 115, 69) |
| HSL | hsl(147, 58%, 29%) |
| HSV | hsv(147, 73%, 45%) |
| CMYK | cmyk(73%, 0%, 40%, 54.9%) |
| CIE-LAB | lab(42.74, -36.17, 18.47) |
| CIE-LCH | lch(42.74, 40.62, 152.95°) |
| OKLab | oklab(49.4% -0.0977 0.0461) |
| OKLCH | oklch(49.4% 0.108 154.7) |
| XYZ | xyz(7.7693, 12.9816, 7.7253) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.85
Jungle Green
#048243
ΔE00 5.95
Spruce
#0A5F38
ΔE00 6.79
Dark Sea Green
#11875D
ΔE00 7.56
Pine
#2B5D34
ΔE00 7.72
Hunter Green
#355E3B
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7345 #731F4D
analogous
#23731F #1F7345 #1F736F
triadic
#1F7345 #451F73 #73451F
tetradic
#1F7345 #1F2373 #731F4D #736F1F
square
#1F7345 #1F2373 #731F4D #736F1F
split-complementary
#1F7345 #6F1F73 #731F23
monochromatic
#06180E #124328 #1F7345 #2CA362 #41CC80
Accessibility & contrast
On white
5.84
#1F7345 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#1F7345 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7345
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7345 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7345 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736942
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f7345; /* rgb */ color: rgb(31, 115, 69); /* oklch */ color: oklch(49.4% 0.108 154.7);
Tailwind
colors: {
custom: {
50: '#679c79',
500: '#1f7345',
950: '#000000',
},
}SCSS
$custom: #1f7345; $custom-light: #679c79; $custom-dark: #000000;
JSON
{
"hex": "#1f7345",
"rgb": {
"r": 31,
"g": 115,
"b": 69
},
"hsl": {
"h": 147.143,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49395,
"c": 0.10807,
"h": 154.7
},
"luminance": 0.12982
}Semantic roles & 50–950 ramp
primary
#1F7345
secondary
#A7477B
accent
#479BE1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B