#1F7948#1F7948
#1F7948 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.114 H 154.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7948 |
|---|---|
| RGB | rgb(31, 121, 72) |
| HSL | hsl(147, 59%, 30%) |
| HSV | hsv(147, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 40.5%, 52.5%) |
| CIE-LAB | lab(44.85, -38.05, 19.55) |
| CIE-LCH | lch(44.85, 42.78, 152.80°) |
| OKLab | oklab(51.15% -0.1027 0.0488) |
| OKLCH | oklch(51.15% 0.114 154.6) |
| XYZ | xyz(8.5714, 14.4330, 8.4637) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.05
Darkish Green
#287C37
ΔE00 4.73
Dark Sea Green
#11875D
ΔE00 5.84
Sea Green
#2E8B57
ΔE00 6.65
Dark Sage
#598556
ΔE00 8.74
Spruce
#0A5F38
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7948 #791F50
analogous
#23791F #1F7948 #1F7975
triadic
#1F7948 #481F79 #79481F
tetradic
#1F7948 #1F2379 #791F50 #79751F
square
#1F7948 #1F2379 #791F50 #79751F
split-complementary
#1F7948 #751F79 #791F23
monochromatic
#06180E #13482B #1F7948 #2BAA65 #43CF83
Accessibility & contrast
On white
5.40
#1F7948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#1F7948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7948
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7948 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1f7948; /* rgb */ color: rgb(31, 121, 72); /* oklch */ color: oklch(51.2% 0.114 154.6);
Tailwind
colors: {
custom: {
50: '#68a07b',
500: '#1f7948',
950: '#000000',
},
}SCSS
$custom: #1f7948; $custom-light: #68a07b; $custom-dark: #000000;
JSON
{
"hex": "#1f7948",
"rgb": {
"r": 31,
"g": 121,
"b": 72
},
"hsl": {
"h": 147.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51154,
"c": 0.11371,
"h": 154.6
},
"luminance": 0.14434
}Semantic roles & 50–950 ramp
primary
#1F7948
secondary
#AC477E
accent
#459BE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B