#1F6F40#1F6F40
#1F6F40 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.107 H 153.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6F40 |
|---|---|
| RGB | rgb(31, 111, 64) |
| HSL | hsl(145, 56%, 28%) |
| HSV | hsv(145, 72%, 44%) |
| CMYK | cmyk(72.1%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.26, -35.52, 19.41) |
| CIE-LCH | lch(41.26, 40.47, 151.35°) |
| OKLab | oklab(48.15% -0.0958 0.0482) |
| OKLCH | oklch(48.15% 0.107 153.3) |
| XYZ | xyz(7.1743, 12.0296, 6.7933) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.60
Darkish Green
#287C37
ΔE00 6.27
Pine
#2B5D34
ΔE00 6.39
Jungle Green
#048243
ΔE00 6.97
Hunter Green
#355E3B
ΔE00 7.07
Forest Green
#2D5A27
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6F40 #6F1F4E
analogous
#266F1F #1F6F40 #1F6F68
triadic
#1F6F40 #401F6F #6F401F
tetradic
#1F6F40 #1F266F #6F1F4E #6F681F
square
#1F6F40 #1F266F #6F1F4E #6F681F
split-complementary
#1F6F40 #681F6F #6F1F26
monochromatic
#07180E #123F24 #1F6F40 #2C9F5C #3FC978
Accessibility & contrast
On white
6.17
#1F6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#1F6F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6F40
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6F40 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#655E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f6f40; /* rgb */ color: rgb(31, 111, 64); /* oklch */ color: oklch(48.2% 0.107 153.3);
Tailwind
colors: {
custom: {
50: '#669975',
500: '#1f6f40',
950: '#000000',
},
}SCSS
$custom: #1f6f40; $custom-light: #669975; $custom-dark: #000000;
JSON
{
"hex": "#1f6f40",
"rgb": {
"r": 31,
"g": 111,
"b": 64
},
"hsl": {
"h": 144.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.48152,
"c": 0.1073,
"h": 153.3
},
"luminance": 0.1203
}Semantic roles & 50–950 ramp
primary
#1F6F40
secondary
#A3477D
accent
#48A1E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B