#1F7947#1F7947
#1F7947 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.115 H 154.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7947 |
|---|---|
| RGB | rgb(31, 121, 71) |
| HSL | hsl(147, 59%, 30%) |
| HSV | hsv(147, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 41.3%, 52.5%) |
| CIE-LAB | lab(44.83, -38.26, 20.10) |
| CIE-LCH | lch(44.83, 43.22, 152.28°) |
| OKLab | oklab(51.13% -0.1032 0.0501) |
| OKLCH | oklch(51.13% 0.115 154.1) |
| XYZ | xyz(8.5390, 14.4200, 8.2933) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.90
Darkish Green
#287C37
ΔE00 4.48
Dark Sea Green
#11875D
ΔE00 5.98
Sea Green
#2E8B57
ΔE00 6.66
Dark Sage
#598556
ΔE00 8.73
Spruce
#0A5F38
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7947 #791F51
analogous
#24791F #1F7947 #1F7974
triadic
#1F7947 #471F79 #79471F
tetradic
#1F7947 #1F2479 #791F51 #79741F
square
#1F7947 #1F2479 #791F51 #79741F
split-complementary
#1F7947 #741F79 #791F24
monochromatic
#06180E #13482A #1F7947 #2BAA64 #43CF81
Accessibility & contrast
On white
5.41
#1F7947 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#1F7947 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7947
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7947 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1f7947; /* rgb */ color: rgb(31, 121, 71); /* oklch */ color: oklch(51.1% 0.115 154.1);
Tailwind
colors: {
custom: {
50: '#68a07a',
500: '#1f7947',
950: '#000000',
},
}SCSS
$custom: #1f7947; $custom-light: #68a07a; $custom-dark: #000000;
JSON
{
"hex": "#1f7947",
"rgb": {
"r": 31,
"g": 121,
"b": 71
},
"hsl": {
"h": 146.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51133,
"c": 0.11471,
"h": 154.1
},
"luminance": 0.14421
}Semantic roles & 50–950 ramp
primary
#1F7947
secondary
#AC4780
accent
#459DE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B