#1F6F2F#1F6F2F
#1F6F2F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.124 H 146.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6F2F |
|---|---|
| RGB | rgb(31, 111, 47) |
| HSL | hsl(132, 56%, 28%) |
| HSV | hsv(132, 72%, 44%) |
| CMYK | cmyk(72.1%, 0%, 57.7%, 56.5%) |
| CIE-LAB | lab(41.00, -38.51, 28.51) |
| CIE-LCH | lch(41.00, 47.91, 143.49°) |
| OKLab | oklab(47.85% -0.1039 0.0681) |
| OKLCH | oklch(47.85% 0.124 146.7) |
| XYZ | xyz(6.7621, 11.8647, 4.6225) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.54
Darkgreen
#006400
ΔE00 6.41
Jungle Green
#048243
ΔE00 6.89
Pine
#2B5D34
ΔE00 7.42
Tree Green
#2A7E19
ΔE00 7.45
Forest Green
#2D5A27
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6F2F #6F1F5F
analogous
#376F1F #1F6F2F #1F6F57
triadic
#1F6F2F #2F1F6F #6F2F1F
tetradic
#1F6F2F #1F376F #6F1F5F #6F571F
square
#1F6F2F #1F376F #6F1F5F #6F571F
split-complementary
#1F6F2F #571F6F #6F1F37
monochromatic
#07180A #123F1B #1F6F2F #2C9F43 #3FC95B
Accessibility & contrast
On white
6.23
#1F6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#1F6F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6F2F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6F2F | 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)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#006C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f6f2f; /* rgb */ color: rgb(31, 111, 47); /* oklch */ color: oklch(47.9% 0.124 146.7);
Tailwind
colors: {
custom: {
50: '#679969',
500: '#1f6f2f',
950: '#000000',
},
}SCSS
$custom: #1f6f2f; $custom-light: #679969; $custom-dark: #000000;
JSON
{
"hex": "#1f6f2f",
"rgb": {
"r": 31,
"g": 111,
"b": 47
},
"hsl": {
"h": 132,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.4785,
"c": 0.12422,
"h": 146.7
},
"luminance": 0.11865
}Semantic roles & 50–950 ramp
primary
#1F6F2F
secondary
#A34791
accent
#48C1E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A