#1F6940#1F6940
#1F6940 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.098 H 154.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6940 |
|---|---|
| RGB | rgb(31, 105, 64) |
| HSL | hsl(147, 54%, 27%) |
| HSV | hsv(147, 70%, 41%) |
| CMYK | cmyk(70.5%, 0%, 39%, 58.8%) |
| CIE-LAB | lab(39.18, -32.94, 16.64) |
| CIE-LCH | lch(39.18, 36.91, 153.19°) |
| OKLab | oklab(46.44% -0.0891 0.0417) |
| OKLCH | oklch(46.44% 0.098 154.9) |
| XYZ | xyz(6.5415, 10.7639, 6.5824) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.53
Pine
#2B5D34
ΔE00 4.68
Hunter Green
#355E3B
ΔE00 5.32
Forest Green
#2D5A27
ΔE00 7.10
Darkish Green
#287C37
ΔE00 8.54
Jungle Green
#048243
ΔE00 9.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6940 #691F48
analogous
#23691F #1F6940 #1F6965
triadic
#1F6940 #401F69 #69401F
tetradic
#1F6940 #1F2369 #691F48 #69651F
square
#1F6940 #1F2369 #691F48 #69651F
split-complementary
#1F6940 #651F69 #691F23
monochromatic
#07180E #113A23 #1F6940 #2D985D #3DC67A
Accessibility & contrast
On white
6.66
#1F6940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#1F6940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6940
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6940 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69603D
Deuteranopia (green-blind)
#5F5A43
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #1f6940; /* rgb */ color: rgb(31, 105, 64); /* oklch */ color: oklch(46.4% 0.098 154.9);
Tailwind
colors: {
custom: {
50: '#659475',
500: '#1f6940',
950: '#000000',
},
}SCSS
$custom: #1f6940; $custom-light: #659475; $custom-dark: #000000;
JSON
{
"hex": "#1f6940",
"rgb": {
"r": 31,
"g": 105,
"b": 64
},
"hsl": {
"h": 146.757,
"s": 54.412,
"l": 26.667
},
"oklch": {
"l": 0.46437,
"c": 0.0984,
"h": 154.9
},
"luminance": 0.10765
}Semantic roles & 50–950 ramp
primary
#1F6940
secondary
#9D4777
accent
#4A9CDE
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B