#1F6F2C#1F6F2C
#1F6F2C is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.127 H 145.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6F2C |
|---|---|
| RGB | rgb(31, 111, 44) |
| HSL | hsl(130, 56%, 28%) |
| HSV | hsv(130, 72%, 44%) |
| CMYK | cmyk(72.1%, 0%, 60.4%, 56.5%) |
| CIE-LAB | lab(40.96, -38.95, 30.03) |
| CIE-LCH | lch(40.96, 49.18, 142.37°) |
| OKLab | oklab(47.81% -0.1051 0.0712) |
| OKLCH | oklch(47.81% 0.127 145.9) |
| XYZ | xyz(6.7037, 11.8413, 4.3147) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.53
Darkgreen
#006400
ΔE00 5.93
Tree Green
#2A7E19
ΔE00 7.03
Jungle Green
#048243
ΔE00 7.09
Deep Green
#02590F
ΔE00 7.50
Forest Green
#2D5A27
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6F2C #6F1F62
analogous
#3A6F1F #1F6F2C #1F6F54
triadic
#1F6F2C #2C1F6F #6F2C1F
tetradic
#1F6F2C #1F3A6F #6F1F62 #6F541F
square
#1F6F2C #1F3A6F #6F1F62 #6F541F
split-complementary
#1F6F2C #541F6F #6F1F3A
monochromatic
#071809 #123F19 #1F6F2C #2C9F3F #3FC956
Accessibility & contrast
On white
6.23
#1F6F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#1F6F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6F2C
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6F2C | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716525
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#026C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f6f2c; /* rgb */ color: rgb(31, 111, 44); /* oklch */ color: oklch(47.8% 0.127 145.9);
Tailwind
colors: {
custom: {
50: '#679967',
500: '#1f6f2c',
950: '#000000',
},
}SCSS
$custom: #1f6f2c; $custom-light: #679967; $custom-dark: #000000;
JSON
{
"hex": "#1f6f2c",
"rgb": {
"r": 31,
"g": 111,
"b": 44
},
"hsl": {
"h": 129.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47806,
"c": 0.12699,
"h": 145.9
},
"luminance": 0.11842
}Semantic roles & 50–950 ramp
primary
#1F6F2C
secondary
#A34794
accent
#48C7E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A